diff --git a/Cargo.lock b/Cargo.lock index cd4d4e43de..4284279743 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -498,7 +498,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" dependencies = [ "async-trait", - "axum-core", + "axum-core 0.4.5", "axum-macros", "bytes", "futures-util", @@ -508,7 +508,7 @@ dependencies = [ "hyper 1.5.2", "hyper-util", "itoa", - "matchit", + "matchit 0.7.3", "memchr", "mime", "percent-encoding", @@ -526,6 +526,33 @@ dependencies = [ "tracing", ] +[[package]] +name = "axum" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42f74c4d9a7a03b6dbcc61e711563da6b548bc8556d51708e8a172441ff3c4f1" +dependencies = [ + "axum-core 0.5.0", + "bytes", + "futures-util", + "http 1.2.0", + "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", + "tower-layer", + "tower-service", + "tracing", +] + [[package]] name = "axum-core" version = "0.4.5" @@ -547,28 +574,48 @@ dependencies = [ "tracing", ] +[[package]] +name = "axum-core" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df1362f362fd16024ae199c1970ce98f9661bf5ef94b9808fee734bc3698b733" +dependencies = [ + "bytes", + "futures-util", + "http 1.2.0", + "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.9.6" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c794b30c904f0a1c2fb7740f7df7f7972dfaa14ef6f57cb6178dc63e5dca2f04" +checksum = "460fc6f625a1f7705c6cf62d0d070794e94668988b1c38111baeec177c715f7b" dependencies = [ - "axum", - "axum-core", + "axum 0.8.0", + "axum-core 0.5.0", "bytes", "cookie", - "fastrand", + "form_urlencoded", "futures-util", "headers", "http 1.2.0", "http-body 1.0.1", "http-body-util", "mime", - "multer", "pin-project-lite", "serde", "serde_html_form", "serde_json", + "serde_path_to_error", "tower", "tower-layer", "tower-service", @@ -1043,7 +1090,7 @@ dependencies = [ "aws-ip-ranges", "aws-sdk-cloudfront", "aws-sdk-sqs", - "axum", + "axum 0.7.9", "axum-extra", "base64 0.22.1", "bigdecimal", @@ -1265,7 +1312,7 @@ dependencies = [ name = "crates_io_session" version = "0.0.0" dependencies = [ - "axum", + "axum 0.7.9", "axum-extra", "base64 0.22.1", "cookie", @@ -3071,6 +3118,12 @@ 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 = "md-5" version = "0.10.6" @@ -3185,23 +3238,6 @@ dependencies = [ "syn", ] -[[package]] -name = "multer" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83e87776546dc87511aa5ee218730c92b666d7264ab6ed41f9d215af9cd5224b" -dependencies = [ - "bytes", - "encoding_rs", - "futures-util", - "http 1.2.0", - "httparse", - "memchr", - "mime", - "spin", - "version_check", -] - [[package]] name = "native-tls" version = "0.2.12" @@ -4532,7 +4568,7 @@ version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcdaf9b1939589476bd57751d12a9653bbfe356610fc476d03d7683189183ab7" dependencies = [ - "axum", + "axum 0.7.9", "http 1.2.0", "pin-project", "sentry-core", @@ -5613,7 +5649,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "839e89ad0db7f9e8737dace8ff43c1ce0711d5e0d08cc1c9d31cc8454d4643ee" dependencies = [ - "axum", + "axum 0.7.9", "paste", "tower-layer", "tower-service", diff --git a/Cargo.toml b/Cargo.toml index 524e8af3b6..a1ca882380 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,7 +49,7 @@ aws-ip-ranges = "=0.964.0" aws-sdk-cloudfront = "=1.58.0" aws-sdk-sqs = "=1.52.0" axum = { version = "=0.7.9", features = ["macros", "matched-path"] } -axum-extra = { version = "=0.9.6", features = ["erased-json", "query", "typed-header"] } +axum-extra = { version = "=0.10.0", features = ["erased-json", "query", "typed-header"] } base64 = "=0.22.1" bigdecimal = { version = "=0.4.7", features = ["serde"] } bon = "=3.3.2" diff --git a/crates/crates_io_session/Cargo.toml b/crates/crates_io_session/Cargo.toml index 84e44de40b..8b5c5b1ed3 100644 --- a/crates/crates_io_session/Cargo.toml +++ b/crates/crates_io_session/Cargo.toml @@ -9,7 +9,7 @@ workspace = true [dependencies] axum = { version = "=0.7.9", features = ["macros"] } -axum-extra = { version = "=0.9.6", features = ["cookie-signed"] } +axum-extra = { version = "=0.10.0", features = ["cookie-signed"] } base64 = "=0.22.1" cookie = { version = "=0.18.1", features = ["secure"] } parking_lot = "=0.12.3"