Annotation For src/main.rs
Logged in as anonymous

Lines of src/main.rs from check-in 44575a91d3 that are changed by the sequence of edits moving toward check-in 42b29b744b:

                         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: mod sql;
                         9: 
                        10: use stacked_errors::{
                        11: 	Result,
                        12: 	StackableErr,
                        13: };
                        14: use tgbot::handler::LongPoll;
                        15: 
                        16: #[async_std::main]
                        17: async fn main() -> Result<()> {
                        18: 	let settings = config::Config::builder()
                        19: 		.add_source(config::File::with_name("rsstg"))
                        20: 		.build()
                        21: 		.stack()?;
                        22: 
                        23: 	let core = core::Core::new(settings).await.stack()?;
                        24: 
                        25: 	LongPoll::new(core.tg.clone(), core).run().await;
                        26: 
                        27: 	Ok(())
                        28: }