maint: revert rand and axum packages

This commit is contained in:
James Hodgkinson 2025-03-31 09:38:52 +10:00
parent a2fe6572fa
commit a307e557be
3 changed files with 23 additions and 86 deletions

101
Cargo.lock generated
View file

@ -156,7 +156,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a41603f7cdbf5ac4af60760f17253eb6adf6ec5b6f14a7ed830cf687d375f163"
dependencies = [
"askama",
"axum-core 0.4.5",
"axum-core",
"http 1.3.1",
]
@ -322,8 +322,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f"
dependencies = [
"async-trait",
"axum-core 0.4.5",
"axum-macros 0.4.2",
"axum-core",
"axum-macros",
"bytes",
"futures-util",
"http 1.3.1",
@ -332,7 +332,7 @@ dependencies = [
"hyper 1.6.0",
"hyper-util",
"itoa",
"matchit 0.7.3",
"matchit",
"memchr",
"mime",
"multer",
@ -351,33 +351,6 @@ dependencies = [
"tracing",
]
[[package]]
name = "axum"
version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de45108900e1f9b9242f7f2e254aa3e2c029c921c258fe9e6b4217eeebd54288"
dependencies = [
"axum-core 0.5.2",
"bytes",
"futures-util",
"http 1.3.1",
"http-body 1.0.1",
"http-body-util",
"itoa",
"matchit 0.8.4",
"memchr",
"mime",
"percent-encoding",
"pin-project-lite",
"rustversion",
"serde",
"sync_wrapper 1.0.2",
"tower 0.5.2",
"tower-layer",
"tower-service",
"tracing",
]
[[package]]
name = "axum-core"
version = "0.4.5"
@ -399,43 +372,24 @@ dependencies = [
"tracing",
]
[[package]]
name = "axum-core"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68464cd0412f486726fb3373129ef5d2993f90c34bc2bc1c1e9943b2f4fc7ca6"
dependencies = [
"bytes",
"futures-core",
"http 1.3.1",
"http-body 1.0.1",
"http-body-util",
"mime",
"pin-project-lite",
"rustversion",
"sync_wrapper 1.0.2",
"tower-layer",
"tower-service",
"tracing",
]
[[package]]
name = "axum-extra"
version = "0.10.1"
version = "0.9.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45bf463831f5131b7d3c756525b305d40f1185b688565648a92e1392ca35713d"
checksum = "c794b30c904f0a1c2fb7740f7df7f7972dfaa14ef6f57cb6178dc63e5dca2f04"
dependencies = [
"axum 0.8.3",
"axum-core 0.5.2",
"axum",
"axum-core",
"bytes",
"cookie 0.18.1",
"fastrand",
"futures-util",
"http 1.3.1",
"http-body 1.0.1",
"http-body-util",
"mime",
"multer",
"pin-project-lite",
"rustversion",
"serde",
"tower 0.5.2",
"tower-layer",
@ -449,7 +403,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40f7051fdc094b6e5ea06cab9bca4b198c54dee4472a9419155f0ff19f19901e"
dependencies = [
"async-trait",
"axum-core 0.4.5",
"axum-core",
"futures-core",
"http 1.3.1",
"pin-project-lite",
@ -469,17 +423,6 @@ dependencies = [
"syn 2.0.100",
]
[[package]]
name = "axum-macros"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "604fde5e028fea851ce1d8570bbdc034bec850d157f7569d10f347d06808c05c"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.100",
]
[[package]]
name = "axum-server"
version = "0.7.2"
@ -3037,7 +2980,7 @@ dependencies = [
"md-5",
"openssl",
"openssl-sys",
"rand 0.9.0",
"rand 0.8.5",
"serde",
"sha-crypt",
"sha2",
@ -3184,10 +3127,10 @@ version = "1.6.0-dev"
dependencies = [
"askama",
"askama_axum",
"axum 0.7.9",
"axum",
"axum-extra",
"axum-htmx",
"axum-macros 0.5.0",
"axum-macros",
"axum-server",
"bytes",
"chrono",
@ -3263,7 +3206,7 @@ dependencies = [
"num_enum",
"openssl",
"openssl-sys",
"rand 0.9.0",
"rand 0.8.5",
"regex",
"rusqlite",
"serde",
@ -3574,12 +3517,6 @@ version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94"
[[package]]
name = "matchit"
version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3"
[[package]]
name = "mathru"
version = "0.13.0"
@ -4159,8 +4096,8 @@ dependencies = [
"kanidm_client",
"mathru",
"mimalloc",
"rand 0.9.0",
"rand_chacha 0.9.0",
"rand 0.8.5",
"rand_chacha 0.3.1",
"serde",
"serde_json",
"tokio",
@ -5835,7 +5772,7 @@ checksum = "877c5b330756d856ffcc4553ab34a5684481ade925ecc54bcd1bf02b1d0d4d52"
dependencies = [
"async-stream",
"async-trait",
"axum 0.7.9",
"axum",
"base64 0.22.1",
"bytes",
"h2 0.4.8",
@ -6190,7 +6127,7 @@ version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b39868d43c011961e04b41623e050aedf2cc93652562ff7935ce0f819aaf2da"
dependencies = [
"axum 0.7.9",
"axum",
"mime_guess",
"regex",
"rust-embed",

View file

@ -232,8 +232,8 @@ prctl = "1.0.0"
proc-macro2 = "1.0.93"
qrcode = "^0.12.0"
quote = "1"
rand = "^0.9.0"
rand_chacha = "0.9.0"
rand = "^0.8.5"
rand_chacha = "0.3.1"
regex = "1.11.0"
reqwest = { version = "0.12.12", default-features = false, features = [
"cookies",

View file

@ -24,8 +24,8 @@ askama = { workspace = true, features = ["with-axum"] }
askama_axum = { workspace = true }
axum = { workspace = true }
axum-htmx = { workspace = true }
axum-extra = { version = "0.10.1", features = ["cookie"] }
axum-macros = "0.5.0"
axum-extra = { version = "0.9.6", features = ["cookie"] }
axum-macros = "0.4.2"
axum-server = { version = "0.7.1", default-features = false }
bytes = { workspace = true }
chrono = { workspace = true }