From 2a116e11face4ac11382b9c1d2a9f6da057c3b7a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 09:03:54 +0000 Subject: [PATCH] Update Rust crate warp to 0.4 --- packages/rust/Cargo.lock | 167 +++++----------------------------- packages/rust/warp/Cargo.toml | 2 +- 2 files changed, 25 insertions(+), 144 deletions(-) diff --git a/packages/rust/Cargo.lock b/packages/rust/Cargo.lock index 623b221..454f753 100644 --- a/packages/rust/Cargo.lock +++ b/packages/rust/Cargo.lock @@ -29,7 +29,7 @@ dependencies = [ "actix-rt", "actix-service", "actix-utils", - "base64 0.22.1", + "base64", "bitflags", "brotli", "bytes", @@ -275,7 +275,7 @@ version = "0.1.0" dependencies = [ "actix-web", "authdog-core", - "base64 0.22.1", + "base64", "reqwest", "serde_json", "tokio", @@ -287,7 +287,7 @@ version = "0.1.0" dependencies = [ "authdog-core", "axum", - "base64 0.22.1", + "base64", "reqwest", "serde_json", "tokio", @@ -297,11 +297,11 @@ dependencies = [ name = "authdog-core" version = "0.1.0" dependencies = [ - "base64 0.22.1", + "base64", "reqwest", "serde", "serde_json", - "thiserror 2.0.18", + "thiserror", "url", ] @@ -310,7 +310,7 @@ name = "authdog-poem" version = "0.1.0" dependencies = [ "authdog-core", - "base64 0.22.1", + "base64", "poem", "reqwest", "serde_json", @@ -322,7 +322,7 @@ name = "authdog-rocket" version = "0.1.0" dependencies = [ "authdog-core", - "base64 0.22.1", + "base64", "reqwest", "rocket", "serde_json", @@ -334,7 +334,7 @@ name = "authdog-warp" version = "0.1.0" dependencies = [ "authdog-core", - "base64 0.22.1", + "base64", "reqwest", "serde_json", "tokio", @@ -393,12 +393,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "base64" -version = "0.21.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" - [[package]] name = "base64" version = "0.22.1" @@ -468,12 +462,6 @@ version = "1.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec" -[[package]] -name = "byteorder" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" - [[package]] name = "bytes" version = "1.12.0" @@ -607,12 +595,6 @@ dependencies = [ "hybrid-array", ] -[[package]] -name = "data-encoding" -version = "2.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4ae5f15dda3c708c0ade84bfee31ccab44a3da4f88015ed22f63732abe300c8" - [[package]] name = "deranged" version = "0.5.8" @@ -983,45 +965,21 @@ version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" -[[package]] -name = "headers" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06683b93020a07e3dbcf5f8c0f6d40080d725bea7936fc01ad345c01b97dc270" -dependencies = [ - "base64 0.21.7", - "bytes", - "headers-core 0.2.0", - "http 0.2.12", - "httpdate", - "mime", - "sha1 0.10.6", -] - [[package]] name = "headers" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b3314d5adb5d94bcdf56771f2e50dbbc80bb4bdf88967526706205ac9eff24eb" dependencies = [ - "base64 0.22.1", + "base64", "bytes", - "headers-core 0.3.0", + "headers-core", "http 1.4.2", "httpdate", "mime", "sha1 0.10.6", ] -[[package]] -name = "headers-core" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" -dependencies = [ - "http 0.2.12", -] - [[package]] name = "headers-core" version = "0.3.0" @@ -1181,7 +1139,7 @@ version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0" dependencies = [ - "base64 0.22.1", + "base64", "bytes", "futures-channel", "futures-util", @@ -1511,24 +1469,6 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "multer" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01acbdc23469fd8fe07ab135923371d5f5a422fbf9c522158677c8eb15bc51c2" -dependencies = [ - "bytes", - "encoding_rs", - "futures-util", - "http 0.2.12", - "httparse", - "log", - "memchr", - "mime", - "spin", - "version_check", -] - [[package]] name = "multer" version = "3.1.0" @@ -1683,7 +1623,7 @@ checksum = "9f977080932c87287147dca052951c3e2696f8759863f6b4e4c0c9ffe7a4cc8b" dependencies = [ "bytes", "futures-util", - "headers 0.4.1", + "headers", "http 1.4.2", "http-body-util", "hyper 1.10.1", @@ -1701,7 +1641,7 @@ dependencies = [ "serde_urlencoded", "smallvec", "sync_wrapper", - "thiserror 2.0.18", + "thiserror", "tokio", "tokio-util", "tracing", @@ -1789,7 +1729,7 @@ dependencies = [ "rustc-hash", "rustls", "socket2 0.6.4", - "thiserror 2.0.18", + "thiserror", "tokio", "tracing", "web-time", @@ -1810,7 +1750,7 @@ dependencies = [ "rustls", "rustls-pki-types", "slab", - "thiserror 2.0.18", + "thiserror", "tinyvec", "tracing", "web-time", @@ -1997,7 +1937,7 @@ version = "0.12.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147" dependencies = [ - "base64 0.22.1", + "base64", "bytes", "futures-core", "http 1.4.2", @@ -2069,7 +2009,7 @@ dependencies = [ "indexmap", "log", "memchr", - "multer 3.1.0", + "multer", "num_cpus", "parking_lot", "pin-project-lite", @@ -2466,33 +2406,13 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "thiserror" -version = "1.0.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" -dependencies = [ - "thiserror-impl 1.0.69", -] - [[package]] name = "thiserror" version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" dependencies = [ - "thiserror-impl 2.0.18", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" -dependencies = [ - "proc-macro2", - "quote", - "syn", + "thiserror-impl", ] [[package]] @@ -2619,18 +2539,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "tokio-tungstenite" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c83b561d025642014097b66e6c1bb422783339e0909e4429cde4749d1990bc38" -dependencies = [ - "futures-util", - "log", - "tokio", - "tungstenite", -] - [[package]] name = "tokio-util" version = "0.7.18" @@ -2829,25 +2737,6 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" -[[package]] -name = "tungstenite" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ef1a641ea34f399a848dea702823bbecfb4c486f911735368f1f137cb8257e1" -dependencies = [ - "byteorder", - "bytes", - "data-encoding", - "http 1.4.2", - "httparse", - "log", - "rand 0.8.6", - "sha1 0.10.6", - "thiserror 1.0.69", - "url", - "utf-8", -] - [[package]] name = "typenum" version = "1.20.1" @@ -2915,12 +2804,6 @@ dependencies = [ "serde", ] -[[package]] -name = "utf-8" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" - [[package]] name = "utf8_iter" version = "1.0.4" @@ -2950,20 +2833,19 @@ dependencies = [ [[package]] name = "warp" -version = "0.3.7" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4378d202ff965b011c64817db11d5829506d3404edeadb61f190d111da3f231c" +checksum = "c0a808122a8a77eecdabaefd88ddb1913c4be5ea1465399f63ba64c7aa705fea" dependencies = [ "bytes", - "futures-channel", "futures-util", - "headers 0.3.9", - "http 0.2.12", - "hyper 0.14.32", + "headers", + "http 1.4.2", + "http-body 1.0.1", + "http-body-util", "log", "mime", "mime_guess", - "multer 2.1.0", "percent-encoding", "pin-project", "scoped-tls", @@ -2971,7 +2853,6 @@ dependencies = [ "serde_json", "serde_urlencoded", "tokio", - "tokio-tungstenite", "tokio-util", "tower-service", "tracing", diff --git a/packages/rust/warp/Cargo.toml b/packages/rust/warp/Cargo.toml index 8e9c2c3..1a1bd34 100644 --- a/packages/rust/warp/Cargo.toml +++ b/packages/rust/warp/Cargo.toml @@ -12,7 +12,7 @@ categories = ["authentication", "web-programming"] [dependencies] authdog-core.workspace = true -warp = "0.3" +warp = "0.4" reqwest.workspace = true serde_json.workspace = true