diff --git a/Cargo.lock b/Cargo.lock index 68dd173bded..474e6c2d08a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -498,9 +498,36 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" dependencies = [ "async-trait", - "axum-core", + "axum-core 0.4.5", + "bytes", + "futures-util", + "http 1.2.0", + "http-body 1.0.1", + "http-body-util", + "itoa", + "matchit 0.7.3", + "memchr", + "mime", + "percent-encoding", + "pin-project-lite", + "rustversion", + "serde", + "sync_wrapper 1.0.2", + "tower", + "tower-layer", + "tower-service", +] + +[[package]] +name = "axum" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d6fd624c75e18b3b4c6b9caf42b1afe24437daaee904069137d8bab077be8b8" +dependencies = [ + "axum-core 0.5.0", "axum-macros", "bytes", + "form_urlencoded", "futures-util", "http 1.2.0", "http-body 1.0.1", @@ -508,7 +535,7 @@ dependencies = [ "hyper 1.5.2", "hyper-util", "itoa", - "matchit", + "matchit 0.8.4", "memchr", "mime", "percent-encoding", @@ -544,31 +571,50 @@ dependencies = [ "sync_wrapper 1.0.2", "tower-layer", "tower-service", +] + +[[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.1", + "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", @@ -577,9 +623,9 @@ dependencies = [ [[package]] name = "axum-macros" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d123550fa8d071b7255cb0cc04dc302baa6c8c4a79f55701552684d8399bce" +checksum = "604fde5e028fea851ce1d8570bbdc034bec850d157f7569d10f347d06808c05c" dependencies = [ "proc-macro2", "quote", @@ -1040,7 +1086,7 @@ dependencies = [ "aws-ip-ranges", "aws-sdk-cloudfront", "aws-sdk-sqs", - "axum", + "axum 0.8.1", "axum-extra", "base64 0.22.1", "bigdecimal", @@ -1262,7 +1308,7 @@ dependencies = [ name = "crates_io_session" version = "0.0.0" dependencies = [ - "axum", + "axum 0.8.1", "axum-extra", "base64 0.22.1", "cookie", @@ -3065,6 +3111,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" @@ -3179,23 +3231,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" @@ -4526,7 +4561,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", @@ -5592,9 +5627,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "utoipa" -version = "5.3.0" +version = "5.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68e76d357bc95c7d0939c92c04c9269871a8470eea39cb1f0231eeadb0c47d0f" +checksum = "435c6f69ef38c9017b4b4eea965dfb91e71e53d869e896db40d1cf2441dd75c0" dependencies = [ "indexmap", "serde", @@ -5604,11 +5639,11 @@ dependencies = [ [[package]] name = "utoipa-axum" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "839e89ad0db7f9e8737dace8ff43c1ce0711d5e0d08cc1c9d31cc8454d4643ee" +checksum = "ff0d605008ed085986e1803fd5c81d18c0f8503b1e4bbb21ea75b3fc20dd1efb" dependencies = [ - "axum", + "axum 0.8.1", "paste", "tower-layer", "tower-service", diff --git a/Cargo.toml b/Cargo.toml index b6908b6146a..965f9bd4a87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,8 +48,8 @@ aws-credential-types = { version = "=1.2.1", features = ["hardcoded-credentials" aws-ip-ranges = "=0.964.0" aws-sdk-cloudfront = "=1.59.0" aws-sdk-sqs = "=1.53.0" -axum = { version = "=0.7.9", features = ["macros", "matched-path"] } -axum-extra = { version = "=0.9.6", features = ["erased-json", "query", "typed-header"] } +axum = { version = "=0.8.1", features = ["macros", "matched-path"] } +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" @@ -127,8 +127,8 @@ tracing-subscriber = { version = "=0.3.19", features = ["env-filter", "json"] } typomania = { version = "=0.1.2", default-features = false } url = "=2.5.4" unicode-xid = "=0.2.6" -utoipa = { version = "=5.3.0", features = ["chrono"] } -utoipa-axum = "=0.1.3" +utoipa = { version = "=5.3.1", features = ["chrono"] } +utoipa-axum = "=0.1.4" [dev-dependencies] bytes = "=1.9.0" diff --git a/crates/crates_io_session/Cargo.toml b/crates/crates_io_session/Cargo.toml index 84e44de40b9..62179aefcbc 100644 --- a/crates/crates_io_session/Cargo.toml +++ b/crates/crates_io_session/Cargo.toml @@ -8,8 +8,8 @@ edition = "2021" workspace = true [dependencies] -axum = { version = "=0.7.9", features = ["macros"] } -axum-extra = { version = "=0.9.6", features = ["cookie-signed"] } +axum = { version = "=0.8.1", features = ["macros"] } +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"