Annotation For src/main.rs
Logged in as anonymous

Origin for each line in src/main.rs from check-in e624ef9d66:

614456ed35 2025-02-22    1: //! This is telegram bot to fetch RSS/ATOM feeds and post results on public
614456ed35 2025-02-22    2: //! channels
614456ed35 2025-02-22    3: 
614456ed35 2025-02-22    4: #![warn(missing_docs)]
614456ed35 2025-02-22    5: 
9171c791eb 2021-11-13    6: mod command;
9171c791eb 2021-11-13    7: mod core;
9171c791eb 2021-11-13    8: 
9171c791eb 2021-11-13    9: use anyhow::Result;
9171c791eb 2021-11-13   10: 
1c444d34ff 2024-08-28   11: #[async_std::main]
1c444d34ff 2024-08-28   12: async fn main() -> Result<()> {
28da2e2a00 2022-03-12   13: 	let settings = config::Config::builder()
28da2e2a00 2022-03-12   14: 		.add_source(config::File::with_name("rsstg"))
28da2e2a00 2022-03-12   15: 		.build()?;
9171c791eb 2021-11-13   16: 
e624ef9d66 2025-04-20   17: 	let core = core::Core::new(settings).await?;
e624ef9d66 2025-04-20   18: 
e624ef9d66 2025-04-20   19: 	core.stream().await?;
61df933942 2020-11-18   20: 
61df933942 2020-11-18   21: 	Ok(())
61df933942 2020-11-18   22: }