mirror of
https://codeberg.org/icewind/docker-hub-rss.git
synced 2026-06-03 18:24:06 +02:00
bumb dependencies
This commit is contained in:
parent
5c6b3fb4ab
commit
a7bd4e81cd
3 changed files with 433 additions and 425 deletions
847
Cargo.lock
generated
847
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
18
Cargo.toml
18
Cargo.toml
|
|
@ -7,15 +7,15 @@ license = "MIT OR Apache-2.0"
|
|||
repository = "https://github.com/icewind1991/docker-hub-rss"
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1", features = ["macros", "rt-multi-thread", "signal"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "json"] }
|
||||
warp = "0.3"
|
||||
serde_json = "1"
|
||||
color-eyre = "0.5"
|
||||
dotenv = "0.15"
|
||||
rss = { version = "1", features = ["builders"] }
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
tokio = { version = "1.20.0", features = ["macros", "rt-multi-thread", "signal"] }
|
||||
serde = { version = "1.0.139", features = ["derive"] }
|
||||
reqwest = { version = "0.11.11", default-features = false, features = ["rustls-tls", "json"] }
|
||||
warp = "0.3.2"
|
||||
serde_json = "1.0.82"
|
||||
color-eyre = "0.6.2"
|
||||
dotenv = "0.15.0"
|
||||
rss = { version = "2.0.1", features = ["builders"] }
|
||||
chrono = { version = "0.4.19", features = ["serde"] }
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
|
|
@ -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))
|
||||
.link(format!("https://hub.docker.com/r/{}/{}", user, repo))
|
||||
.description(format!("Image updates for {}/{}", user, repo))
|
||||
.build()
|
||||
.unwrap();
|
||||
.build();
|
||||
|
||||
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()
|
||||
.value(format!("{}-{}", tag.id, tag.last_updated.timestamp()))
|
||||
.permalink(false)
|
||||
.build()
|
||||
.unwrap(),
|
||||
.build(),
|
||||
)
|
||||
.pub_date(tag.last_updated.to_rfc2822())
|
||||
.build()
|
||||
.unwrap()
|
||||
})
|
||||
.collect();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue