diff --git a/Cargo.lock b/Cargo.lock index b8e70a4..d8b8309 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -273,7 +273,7 @@ checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" [[package]] name = "complete-rss" -version = "0.1.0" +version = "1.0.1" dependencies = [ "anyhow", "itertools", diff --git a/Cargo.toml b/Cargo.toml index f982590..3c7e319 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "complete-rss" -version = "1.0.0" +version = "1.0.1" edition = "2024" [dependencies] diff --git a/src/main.rs b/src/main.rs index bf69737..20e0e68 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,7 +25,6 @@ fn get_domain(item: &rss::Item) -> Option { .and_then(|parsed| parsed.domain().map(|domain| domain.to_string())) } -#[instrument(skip_all)] async fn complete_channel(mut channel: Channel, client: &Client) -> Result> { let grouped: Vec<(Option, Vec)> = channel .items() @@ -131,5 +130,5 @@ async fn main() { }) .map(|reply| warp::reply::with_header(reply, "Content-Type", "application/rss+xml")); let health = warp::path!("health").map(|| "Healthy"); - warp::serve(rss.or(health)).run(([0, 0, 0, 0], 3030)).await; + warp::serve(rss.or(health).with(warp::trace::request())).run(([0, 0, 0, 0], 3030)).await; }