Upgrade most example dependencies (#2936)

This commit is contained in:
Jonas Platte 2024-09-27 16:50:52 +00:00 committed by GitHub
parent 2fb6cea732
commit 85b6fd49c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 47 additions and 47 deletions

View file

@ -8,14 +8,14 @@ publish = false
axum = { path = "../../axum" } axum = { path = "../../axum" }
serde_json = "1" serde_json = "1"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] } tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
tower = "0.4" tower = "0.5.1"
tower-http = { version = "0.5", features = ["compression-full", "decompression-full"] } tower-http = { version = "0.6.1", features = ["compression-full", "decompression-full"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[dev-dependencies] [dev-dependencies]
assert-json-diff = "2.0" assert-json-diff = "2.0"
brotli = "3.4" brotli = "6.0"
flate2 = "1" flate2 = "1"
http = "1" http = "1"
zstd = "0.13" zstd = "0.13"

View file

@ -7,4 +7,4 @@ publish = false
[dependencies] [dependencies]
axum = { path = "../../axum" } axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tower-http = { version = "0.5.0", features = ["cors"] } tower-http = { version = "0.6.1", features = ["cors"] }

View file

@ -8,7 +8,7 @@ publish = false
axum = { path = "../../axum", features = ["macros"] } axum = { path = "../../axum", features = ["macros"] }
bb8 = "0.8" bb8 = "0.8"
diesel = "2" diesel = "2"
diesel-async = { version = "0.3", features = ["postgres", "bb8"] } diesel-async = { version = "0.5", features = ["postgres", "bb8"] }
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tracing = "0.1" tracing = "0.1"

View file

@ -6,7 +6,7 @@ publish = false
[dependencies] [dependencies]
axum = { path = "../../axum", features = ["macros"] } axum = { path = "../../axum", features = ["macros"] }
deadpool-diesel = { version = "0.4.1", features = ["postgres"] } deadpool-diesel = { version = "0.6.1", features = ["postgres"] }
diesel = { version = "2", features = ["postgres"] } diesel = { version = "2", features = ["postgres"] }
diesel_migrations = "2" diesel_migrations = "2"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }

View file

@ -8,6 +8,6 @@ publish = false
axum = { path = "../../axum", features = ["macros"] } axum = { path = "../../axum", features = ["macros"] }
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tower-http = { version = "0.5", features = ["trace"] } tower-http = { version = "0.6.1", features = ["trace"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }

View file

@ -7,5 +7,5 @@ publish = false
[dependencies] [dependencies]
axum = { path = "../../axum", features = ["tracing"] } axum = { path = "../../axum", features = ["tracing"] }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tower-http = { version = "0.5", features = ["timeout", "trace"] } tower-http = { version = "0.6.1", features = ["timeout", "trace"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }

View file

@ -11,4 +11,4 @@ tokio = { version = "1.0", features = ["full"] }
[dev-dependencies] [dev-dependencies]
http-body-util = "0.1.0" http-body-util = "0.1.0"
hyper = { version = "1.0.0", features = ["full"] } hyper = { version = "1.0.0", features = ["full"] }
tower = { version = "0.4", features = ["util"] } tower = { version = "0.5.1", features = ["util"] }

View file

@ -9,6 +9,6 @@ axum = { path = "../../axum" }
hyper = { version = "1", features = ["full"] } hyper = { version = "1", features = ["full"] }
hyper-util = "0.1.1" hyper-util = "0.1.1"
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tower = { version = "0.4", features = ["make", "util"] } tower = { version = "0.5.1", features = ["make", "util"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }

View file

@ -7,7 +7,7 @@ publish = false
[dependencies] [dependencies]
axum = { path = "../../axum" } axum = { path = "../../axum" }
axum-extra = { path = "../../axum-extra", features = ["typed-header"] } axum-extra = { path = "../../axum-extra", features = ["typed-header"] }
jsonwebtoken = "8.0" jsonwebtoken = "9.3"
once_cell = "1.8" once_cell = "1.8"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"

View file

@ -7,8 +7,8 @@ publish = false
[dependencies] [dependencies]
axum = { path = "../../axum" } axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tower = { version = "0.4", features = ["util", "timeout", "load-shed", "limit"] } tower = { version = "0.5.1", features = ["util", "timeout", "load-shed", "limit"] }
tower-http = { version = "0.5.0", features = [ tower-http = { version = "0.6.1", features = [
"add-extension", "add-extension",
"auth", "auth",
"compression-full", "compression-full",

View file

@ -1,5 +1,5 @@
[package] [package]
name = "listen-multiple-addrs" name = "example-listen-multiple-addrs"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
publish = false publish = false
@ -9,4 +9,4 @@ axum = { path = "../../axum" }
hyper = { version = "1.0.0", features = ["full"] } hyper = { version = "1.0.0", features = ["full"] }
hyper-util = { version = "0.1", features = ["tokio", "server-auto", "http1"] } hyper-util = { version = "0.1", features = ["tokio", "server-auto", "http1"] }
tokio = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] }
tower = { version = "0.4", features = ["util"] } tower = { version = "0.5.1", features = ["util"] }

View file

@ -12,6 +12,6 @@ hyper-util = { version = "0.1" }
openssl = "0.10" openssl = "0.10"
tokio = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] }
tokio-openssl = "0.6" tokio-openssl = "0.6"
tower = { version = "0.4", features = ["make"] } tower = { version = "0.5.1", features = ["make"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }

View file

@ -7,6 +7,6 @@ publish = false
[dependencies] [dependencies]
axum = { path = "../../axum", features = ["multipart"] } axum = { path = "../../axum", features = ["multipart"] }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tower-http = { version = "0.5.0", features = ["limit", "trace"] } tower-http = { version = "0.6.1", features = ["limit", "trace"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }

View file

@ -6,8 +6,8 @@ publish = false
[dependencies] [dependencies]
axum = { path = "../../axum" } axum = { path = "../../axum" }
metrics = { version = "0.22", default-features = false } metrics = { version = "0.23", default-features = false }
metrics-exporter-prometheus = { version = "0.13", default-features = false } metrics-exporter-prometheus = { version = "0.15", default-features = false }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }

View file

@ -9,4 +9,4 @@ axum = { path = "../../axum" }
http-body-util = "0.1.0" http-body-util = "0.1.0"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tower = { version = "0.4", features = ["util"] } tower = { version = "0.5.1", features = ["util"] }

View file

@ -9,6 +9,6 @@ axum = { path = "../../axum" }
reqwest = { version = "0.12", features = ["stream"] } reqwest = { version = "0.12", features = ["stream"] }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tokio-stream = "0.1" tokio-stream = "0.1"
tower-http = { version = "0.5.0", features = ["trace"] } tower-http = { version = "0.6.1", features = ["trace"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }

View file

@ -12,7 +12,7 @@ hyper = { version = "1.0.0", features = ["full"] }
#tokio = { version = "1", features = ["full"] } #tokio = { version = "1", features = ["full"] }
#tonic = { version = "0.9" } #tonic = { version = "0.9" }
#tonic-reflection = "0.9" #tonic-reflection = "0.9"
tower = { version = "0.4", features = ["full"] } tower = { version = "0.5.1", features = ["full"] }
#tracing = "0.1" #tracing = "0.1"
#tracing-subscriber = { version = "0.3", features = ["env-filter"] } #tracing-subscriber = { version = "0.3", features = ["env-filter"] }

View file

@ -9,4 +9,4 @@ axum = { path = "../../axum" }
hyper = { version = "1.0", features = [] } hyper = { version = "1.0", features = [] }
hyper-util = { version = "0.1", features = ["tokio", "server-auto", "http1"] } hyper-util = { version = "0.1", features = ["tokio", "server-auto", "http1"] }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tower = { version = "0.4", features = ["util"] } tower = { version = "0.5.1", features = ["util"] }

View file

@ -10,4 +10,4 @@ tokio = { version = "1.0", features = ["full"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "any", "postgres"] } sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "any", "postgres"] }

View file

@ -11,11 +11,11 @@ futures = "0.3"
headers = "0.4" headers = "0.4"
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tokio-stream = "0.1" tokio-stream = "0.1"
tower-http = { version = "0.5.0", features = ["fs", "trace"] } tower-http = { version = "0.6.1", features = ["fs", "trace"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[dev-dependencies] [dev-dependencies]
eventsource-stream = "0.2" eventsource-stream = "0.2"
reqwest = { version = "0.12", features = ["stream"] } reqwest = { version = "0.12", features = ["stream"] }
reqwest-eventsource = "0.5" reqwest-eventsource = "0.6"

View file

@ -7,7 +7,7 @@ publish = false
[dependencies] [dependencies]
axum = { path = "../../axum" } axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tower = { version = "0.4", features = ["util"] } tower = { version = "0.5.1", features = ["util"] }
tower-http = { version = "0.5.0", features = ["fs", "trace"] } tower-http = { version = "0.6.1", features = ["fs", "trace"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }

View file

@ -6,5 +6,5 @@ publish = false
[dependencies] [dependencies]
axum = { path = "../../axum" } axum = { path = "../../axum" }
minijinja = "1.0.11" minijinja = "2.3.1"
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }

View file

@ -5,7 +5,7 @@ edition = "2021"
publish = false publish = false
[dependencies] [dependencies]
askama = "0.11" askama = "0.12"
axum = { path = "../../axum" } axum = { path = "../../axum" }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tracing = "0.1" tracing = "0.1"

View file

@ -8,4 +8,4 @@ publish = false
axum = { path = "../../axum", features = ["ws"] } axum = { path = "../../axum", features = ["ws"] }
futures = "0.3" futures = "0.3"
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tokio-tungstenite = "0.23" tokio-tungstenite = "0.24"

View file

@ -11,9 +11,9 @@ hyper-util = { version = "0.1", features = ["client", "http1", "client-legacy"]
mime = "0.3" mime = "0.3"
serde_json = "1.0" serde_json = "1.0"
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tower-http = { version = "0.5.0", features = ["trace"] } tower-http = { version = "0.6.1", features = ["trace"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[dev-dependencies] [dev-dependencies]
tower = { version = "0.4", features = ["util"] } tower = { version = "0.5.1", features = ["util"] }

View file

@ -6,7 +6,7 @@ publish = false
[dependencies] [dependencies]
axum = { path = "../../axum" } axum = { path = "../../axum" }
axum-server = { version = "0.6", features = ["tls-rustls"] } axum-server = { version = "0.7", features = ["tls-rustls"] }
tokio = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }

View file

@ -6,7 +6,7 @@ publish = false
[dependencies] [dependencies]
axum = { path = "../../axum" } axum = { path = "../../axum" }
axum-server = { version = "0.6", features = ["tls-rustls"] } axum-server = { version = "0.7", features = ["tls-rustls"] }
tokio = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }

View file

@ -8,8 +8,8 @@ publish = false
axum = { path = "../../axum" } axum = { path = "../../axum" }
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tower = { version = "0.4", features = ["util", "timeout"] } tower = { version = "0.5.1", features = ["util", "timeout"] }
tower-http = { version = "0.5.0", features = ["add-extension", "trace"] } tower-http = { version = "0.6.1", features = ["add-extension", "trace"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }
uuid = { version = "1.0", features = ["serde", "v4"] } uuid = { version = "1.0", features = ["serde", "v4"] }

View file

@ -6,8 +6,8 @@ publish = false
[dependencies] [dependencies]
axum = { path = "../../axum" } axum = { path = "../../axum" }
bb8 = "0.7.1" bb8 = "0.8.5"
bb8-postgres = "0.7.0" bb8-postgres = "0.8.1"
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tokio-postgres = "0.7.2" tokio-postgres = "0.7.2"
tracing = "0.1" tracing = "0.1"

View file

@ -6,9 +6,9 @@ publish = false
[dependencies] [dependencies]
axum = { path = "../../axum" } axum = { path = "../../axum" }
bb8 = "0.7.1" bb8 = "0.8.5"
bb8-redis = "0.14.0" bb8-redis = "0.17.0"
redis = "0.24.0" redis = "0.27.2"
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }

View file

@ -7,6 +7,6 @@ publish = false
[dependencies] [dependencies]
axum = { path = "../../axum", features = ["tracing"] } axum = { path = "../../axum", features = ["tracing"] }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tower-http = { version = "0.5.0", features = ["trace"] } tower-http = { version = "0.6.1", features = ["trace"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }

View file

@ -10,5 +10,5 @@ http-body-util = "0.1"
hyper = { version = "1.0.0", features = ["full"] } hyper = { version = "1.0.0", features = ["full"] }
hyper-util = { version = "0.1", features = ["tokio", "server-auto", "http1"] } hyper-util = { version = "0.1", features = ["tokio", "server-auto", "http1"] }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tower = { version = "0.4", features = ["util"] } tower = { version = "0.5.1", features = ["util"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }

View file

@ -12,4 +12,4 @@ thiserror = "1.0.29"
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }
validator = { version = "0.14.0", features = ["derive"] } validator = { version = "0.18.1", features = ["derive"] }

View file

@ -11,8 +11,8 @@ futures = "0.3"
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] } futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
headers = "0.4" headers = "0.4"
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
tokio-tungstenite = "0.23" tokio-tungstenite = "0.24.0"
tower-http = { version = "0.5.0", features = ["fs", "trace"] } tower-http = { version = "0.6.1", features = ["fs", "trace"] }
tracing = "0.1" tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] } tracing-subscriber = { version = "0.3", features = ["env-filter"] }