From c68ca2dc98e66b08ffdb7fac86ccc64ed8c9dc4e Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 20 Apr 2025 11:15:55 +0300 Subject: Update cargo dependencies cargo's dependency management is really a double-edged sword. I'd very much prefer the distributions to package and update dependencies, but cargo also makes it very easy to bring in code without needing to vendor packages or similar. I suppose everything has trade-offs. With C, I would either have to make a separate shared library or vendor code, resulting in code duplication. With Cargo, I can rely on `crates.io` to provide tidbits of code to me, but I'll have to keep them updated by running `cargo update` and `cargo upgrade` often. Change-Id: Ib5cee6f63f1e895dcefe12920755ecb25f994305 --- Cargo.toml | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 451328a..ab00df7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,32 +63,32 @@ members = [".", "./util", "./templates", "./indieauth", "./tower-watchdog"] default-members = [".", "./util", "./templates", "./indieauth"] [workspace.dependencies] -axum = "0.8.1" -axum-core = "0.5.0" -chrono = { version = "0.4.39", features = ["serde"] } -clap = "4.5.23" -data-encoding = "2.6.0" +axum = "0.8.3" +axum-core = "0.5.2" +chrono = { version = "0.4.40", features = ["serde"] } +clap = "4.5.37" +data-encoding = "2.9.0" ellipse = "0.2.0" faker_rand = "0.1.1" futures = "0.3.31" futures-util = "0.3.31" -http = "1.2" +http = "1.3" include_dir = "0.7.4" libflate = "2.1.0" markup = "0.15.0" microformats = "0.14.0" rand = "0.8.5" -serde = { version = "1.0.217", features = ["derive"] } -serde_json = "1.0.134" +serde = { version = "1.0.219", features = ["derive"] } +serde_json = "1.0.140" serde_urlencoded = "0.7.1" serde_variant = "0.1.3" sha2 = "0.10.8" -sqlx = { version = "0.8.2", features = ["json"] } -thiserror = "2.0.9" -time = "0.3.37" -tokio = "1.42.0" +sqlx = { version = "0.8.5", features = ["json"] } +thiserror = "2.0.12" +time = "0.3.41" +tokio = "1.44.2" tokio-stream = "0.1.17" -tokio-util = "0.7.13" +tokio-util = "0.7.14" tower = "0.5.2" tower-layer = "0.3.3" tower-service = "0.3.3" @@ -99,7 +99,7 @@ tracing-subscriber = "0.3.19" tracing-test = "0.2.5" tracing-tree = "0.4.0" url = { version = "2.5.4", features = ["serde"] } -uuid = "1.11.0" +uuid = "1.16.0" walkdir = "2.5.0" [dependencies.kittybox-util] @@ -119,34 +119,34 @@ features = ["axum"] [dev-dependencies] faker_rand = { workspace = true } rand = { workspace = true } -tempfile = "3.14.0" +tempfile = "3.19.1" tracing-test = { workspace = true } -wiremock = "0.6.2" +wiremock = "0.6.3" [dependencies] -anyhow = { version = "1.0.95", optional = true } +anyhow = { version = "1.0.98", optional = true } argon2 = { version = "0.5.3", features = ["std"] } axum = { workspace = true, features = ["multipart", "json", "form", "macros"] } -axum-extra = { version = "0.10.0", features = [ +axum-extra = { version = "0.10.1", features = [ "cookie", "cookie-signed", "typed-header", ] } -bytes = "1.9.0" +bytes = "1.10.1" chrono = { workspace = true } clap = { workspace = true, features = ["derive"], optional = true } data-encoding = { workspace = true } -either = "1.13.0" +either = "1.15.0" futures = { workspace = true } futures-util = { workspace = true } html5ever = "=0.27.0" -http-cache-reqwest = { version = "0.15.0", default-features = false, features = [ +http-cache-reqwest = { version = "0.15.1", default-features = false, features = [ "manager-moka", ] } -hyper = "1.5.2" +hyper = "1.6.0" lazy_static = "1.5.0" -listenfd = "1.0.1" -markdown = "1.0.0-alpha.21" +listenfd = "1.0.2" +markdown = "1.0.0-alpha.23" microformats = { workspace = true } mime = "0.3.17" newbase60 = "0.1.4" @@ -156,13 +156,13 @@ redis = { version = "0.27.6", features = [ "tokio-comp", ], optional = true } relative-path = "1.9.3" -reqwest = { version = "0.12.12", default-features = false, features = [ +reqwest = { version = "0.12.15", default-features = false, features = [ "gzip", "brotli", "json", "stream", ] } -reqwest-middleware = "0.4.0" +reqwest-middleware = "0.4.2" serde = { workspace = true } serde_json = { workspace = true } serde_urlencoded = { workspace = true } @@ -196,6 +196,6 @@ tracing-subscriber = { workspace = true, features = ["env-filter", "json"] } tracing-tree = { workspace = true } url = { workspace = true } uuid = { workspace = true, features = ["v4"] } -webauthn = { version = "0.5.0", package = "webauthn-rs", features = [ +webauthn = { version = "0.5.1", package = "webauthn-rs", features = [ "danger-allow-state-serialisation", ], optional = true } -- cgit 1.4.1