main.rs at [e624ef9d66]
Logged in as anonymous

File src/main.rs artifact 086f4498d9 part of check-in e624ef9d66


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

#![warn(missing_docs)]

mod command;
mod core;

use anyhow::Result;

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

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

	core.stream().await?;

	Ok(())
}