11 lines
275 B
Rust
11 lines
275 B
Rust
use std::error::Error;
|
|
use reqwest::Client;
|
|
use koucha::fetch_channel;
|
|
|
|
#[tokio::main]
|
|
async fn main() -> Result<(), Box<dyn Error>> {
|
|
let client = Client::new();
|
|
let _channel = fetch_channel(&client, "https://lorem-rss.herokuapp.com/feed?unit=year").await?;
|
|
Ok(())
|
|
}
|
|
|