Artifact [a04d5da65d]
Logged in as anonymous

Artifact a04d5da65d33d131577c3e3ef118a426443c3e10d1b2138be610305e70bbf841:


//! This is telegram bot to fetch RSS/ATOM feeds and post results on public
//! channels

#![warn(missing_docs)]

mod command;
mod core;
mod sql;

use anyhow::Result;

#[async_std::main]
async fn main() -> Result<()> {
	let settings = config::Config::builder()
		.add_source(config::File::with_name("rsstg"))
		.build()?;

	let mut core = core::Core::new(settings).await?;

	core.stream().await?;

	Ok(())
}