Diff
Logged in as anonymous

Differences From Artifact [086f4498d9]:

To Artifact [a04d5da65d]:


1
2
3
4
5
6
7

8
9
10
11
12
13
14
15
16
17

18
19
20
21
22
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

18
19
20
21
22
23







+









-
+





//! 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 core = core::Core::new(settings).await?;
	let mut core = core::Core::new(settings).await?;

	core.stream().await?;

	Ok(())
}