bumb dependencies

This commit is contained in:
Robin Appelman 2022-07-17 13:08:51 +02:00
commit a7bd4e81cd
3 changed files with 433 additions and 425 deletions

847
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -7,15 +7,15 @@ license = "MIT OR Apache-2.0"
repository = "https://github.com/icewind1991/docker-hub-rss" repository = "https://github.com/icewind1991/docker-hub-rss"
[dependencies] [dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread", "signal"] } tokio = { version = "1.20.0", features = ["macros", "rt-multi-thread", "signal"] }
serde = { version = "1", features = ["derive"] } serde = { version = "1.0.139", features = ["derive"] }
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "json"] } reqwest = { version = "0.11.11", default-features = false, features = ["rustls-tls", "json"] }
warp = "0.3" warp = "0.3.2"
serde_json = "1" serde_json = "1.0.82"
color-eyre = "0.5" color-eyre = "0.6.2"
dotenv = "0.15" dotenv = "0.15.0"
rss = { version = "1", features = ["builders"] } rss = { version = "2.0.1", features = ["builders"] }
chrono = { version = "0.4", features = ["serde"] } chrono = { version = "0.4.19", features = ["serde"] }
[profile.release] [profile.release]
lto = true lto = true

View file

@ -47,8 +47,7 @@ async fn feed_inner(user: String, repo: String, hub: Hub) -> Result<impl warp::R
.title(format!("{}/{} | Docker Hub Images", user, repo)) .title(format!("{}/{} | Docker Hub Images", user, repo))
.link(format!("https://hub.docker.com/r/{}/{}", user, repo)) .link(format!("https://hub.docker.com/r/{}/{}", user, repo))
.description(format!("Image updates for {}/{}", user, repo)) .description(format!("Image updates for {}/{}", user, repo))
.build() .build();
.unwrap();
let tags = hub.tags(&user, &repo).await?; let tags = hub.tags(&user, &repo).await?;
@ -65,12 +64,10 @@ async fn feed_inner(user: String, repo: String, hub: Hub) -> Result<impl warp::R
GuidBuilder::default() GuidBuilder::default()
.value(format!("{}-{}", tag.id, tag.last_updated.timestamp())) .value(format!("{}-{}", tag.id, tag.last_updated.timestamp()))
.permalink(false) .permalink(false)
.build() .build(),
.unwrap(),
) )
.pub_date(tag.last_updated.to_rfc2822()) .pub_date(tag.last_updated.to_rfc2822())
.build() .build()
.unwrap()
}) })
.collect(); .collect();