Lines of
src/main.rs
from check-in e624ef9d66
that are changed by the sequence of edits moving toward
check-in 0340541002:
1: //! This is telegram bot to fetch RSS/ATOM feeds and post results on public
2: //! channels
3:
4: #![warn(missing_docs)]
5:
6: mod command;
7: mod core;
8:
9: use anyhow::Result;
10:
11: #[async_std::main]
12: async fn main() -> Result<()> {
13: let settings = config::Config::builder()
14: .add_source(config::File::with_name("rsstg"))
15: .build()?;
16:
e624ef9d66 2025-04-20 17: let core = core::Core::new(settings).await?;
18:
19: core.stream().await?;
20:
21: Ok(())
22: }