From 693ce7b8ecbf4ad79a49c7e9c0268af187262af0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jun 2026 07:00:11 +0000 Subject: [PATCH] chore(deps-rust)(deps): bump axum-test from 15.7.4 to 20.1.0 Bumps [axum-test](https://github.com/JosephLenton/axum-test) from 15.7.4 to 20.1.0. - [Release notes](https://github.com/JosephLenton/axum-test/releases) - [Commits](https://github.com/JosephLenton/axum-test/commits) --- updated-dependencies: - dependency-name: axum-test dependency-version: 20.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 392 +++++++++++------- .../infrastructure/transport-axum/Cargo.toml | 2 +- 2 files changed, 241 insertions(+), 153 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 57b5bfa0..f18788e1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -204,7 +204,7 @@ dependencies = [ "rusqlite", "serde", "shared-kernel", - "thiserror 2.0.18", + "thiserror", "tokio", "tracing", ] @@ -224,12 +224,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "auto-future" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c1e7e457ea78e524f48639f551fd79703ac3f2237f5ecccdf4708f8a75ad373" - [[package]] name = "autocfg" version = "1.5.1" @@ -258,58 +252,24 @@ dependencies = [ "fs_extra", ] -[[package]] -name = "axum" -version = "0.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" -dependencies = [ - "async-trait", - "axum-core 0.4.5", - "bytes", - "futures-util", - "http 1.4.1", - "http-body", - "http-body-util", - "hyper", - "hyper-util", - "itoa", - "matchit 0.7.3", - "memchr", - "mime", - "percent-encoding", - "pin-project-lite", - "rustversion", - "serde", - "serde_json", - "serde_path_to_error", - "serde_urlencoded", - "sync_wrapper", - "tokio", - "tower", - "tower-layer", - "tower-service", - "tracing", -] - [[package]] name = "axum" version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31b698c5f9a010f6573133b09e0de5408834d0c82f8d7475a89fc1867a71cd90" dependencies = [ - "axum-core 0.5.6", + "axum-core", "axum-macros", "bytes", "form_urlencoded", "futures-util", - "http 1.4.1", + "http", "http-body", "http-body-util", "hyper", "hyper-util", "itoa", - "matchit 0.8.4", + "matchit", "memchr", "mime", "percent-encoding", @@ -326,27 +286,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "axum-core" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09f2bd6146b97ae3359fa0cc6d6b376d9539582c7b4220f041a33ec24c226199" -dependencies = [ - "async-trait", - "bytes", - "futures-util", - "http 1.4.1", - "http-body", - "http-body-util", - "mime", - "pin-project-lite", - "rustversion", - "sync_wrapper", - "tower-layer", - "tower-service", - "tracing", -] - [[package]] name = "axum-core" version = "0.5.6" @@ -355,7 +294,7 @@ checksum = "08c78f31d7b1291f7ee735c1c6780ccde7785daae9a9206026862dab7d8792d1" dependencies = [ "bytes", "futures-core", - "http 1.4.1", + "http", "http-body", "http-body-util", "mime", @@ -379,16 +318,17 @@ dependencies = [ [[package]] name = "axum-test" -version = "15.7.4" +version = "20.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac63648e380fd001402a02ec804e7686f9c4751f8cad85b7de0b53dae483a128" +checksum = "43c6a2f1d97ee33c39f13dacc0f84ae781a9c2ed373a75bad1129094f5a7c4bd" dependencies = [ "anyhow", - "auto-future", - "axum 0.7.9", + "axum", "bytes", + "bytesize", "cookie", - "http 1.4.1", + "expect-json", + "http", "http-body-util", "hyper", "hyper-util", @@ -399,7 +339,6 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "smallvec", "tokio", "tower", "url", @@ -478,6 +417,12 @@ version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" +[[package]] +name = "bytesize" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bd91ee7b2422bcb158d90ef4d14f75ef67f340943fc4149891dcce8f8b972a3" + [[package]] name = "cache-memory" version = "0.1.0" @@ -487,7 +432,7 @@ dependencies = [ "rook-core", "serde", "shared-kernel", - "thiserror 2.0.18", + "thiserror", "tokio", "tracing", "ttl_cache", @@ -517,6 +462,17 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" +[[package]] +name = "chacha20" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f8d983286843e49675a4b7a2d174efe136dc93a18d69130dd18198a6c167601" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.0", + "rand_core 0.10.1", +] + [[package]] name = "chrono" version = "0.4.44" @@ -715,7 +671,7 @@ dependencies = [ "refinery", "rusqlite", "tempfile", - "thiserror 2.0.18", + "thiserror", "tracing", ] @@ -819,6 +775,15 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e" +[[package]] +name = "email_address" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e079f19b08ca6239f47f8ba8509c11cf3ea30095831f7fed61441475edd8c449" +dependencies = [ + "serde", +] + [[package]] name = "encryption-inmemory" version = "0.1.0" @@ -828,7 +793,7 @@ dependencies = [ "base64", "rand 0.8.6", "rook-core", - "thiserror 2.0.18", + "thiserror", ] [[package]] @@ -837,6 +802,17 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" +[[package]] +name = "erased-serde" +version = "0.4.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2add8a07dd6a8d93ff627029c51de145e12686fbc36ecb298ac22e74cf02dec" +dependencies = [ + "serde", + "serde_core", + "typeid", +] + [[package]] name = "errno" version = "0.3.14" @@ -858,6 +834,35 @@ dependencies = [ "smallvec", ] +[[package]] +name = "expect-json" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e80819dbfe83c8a651f5344b08910d0037dac72988aef27ee4e6bedd7ae2e33" +dependencies = [ + "chrono", + "email_address", + "expect-json-macros", + "num", + "regex", + "serde", + "serde_json", + "thiserror", + "typetag", + "uuid", +] + +[[package]] +name = "expect-json-macros" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0637949cd816934f3b7aab44ff98e7ec1fb903c379e07dcb9eac943ec33499e" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "fallible-iterator" version = "0.3.0" @@ -1078,6 +1083,7 @@ dependencies = [ "cfg-if", "libc", "r-efi 6.0.0", + "rand_core 0.10.1", "wasip2", "wasip3", ] @@ -1103,7 +1109,7 @@ dependencies = [ "fnv", "futures-core", "futures-sink", - "http 1.4.1", + "http", "indexmap", "slab", "tokio", @@ -1171,17 +1177,6 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" -[[package]] -name = "http" -version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" -dependencies = [ - "bytes", - "fnv", - "itoa", -] - [[package]] name = "http" version = "1.4.1" @@ -1199,7 +1194,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", - "http 1.4.1", + "http", ] [[package]] @@ -1210,7 +1205,7 @@ checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" dependencies = [ "bytes", "futures-core", - "http 1.4.1", + "http", "http-body", "pin-project-lite", ] @@ -1247,7 +1242,7 @@ dependencies = [ "futures-channel", "futures-core", "h2", - "http 1.4.1", + "http", "http-body", "httparse", "httpdate", @@ -1264,7 +1259,7 @@ version = "0.27.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33ca68d021ef39cf6463ab54c1d0f5daf03377b70561305bb89a8f83aab66e0f" dependencies = [ - "http 1.4.1", + "http", "hyper", "hyper-util", "rustls", @@ -1285,7 +1280,7 @@ dependencies = [ "bytes", "futures-channel", "futures-util", - "http 1.4.1", + "http", "http-body", "hyper", "ipnet", @@ -1458,6 +1453,15 @@ dependencies = [ "generic-array", ] +[[package]] +name = "inventory" +version = "0.3.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4f0c30c76f2f4ccee3fe55a2435f691ca00c0e4bd87abe4f4a851b1d4dac39b" +dependencies = [ + "rustversion", +] + [[package]] name = "ipnet" version = "2.12.0" @@ -1628,12 +1632,6 @@ dependencies = [ "regex-automata", ] -[[package]] -name = "matchit" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" - [[package]] name = "matchit" version = "0.8.4" @@ -1674,7 +1672,7 @@ dependencies = [ "metrics-util", "quanta", "rustls", - "thiserror 2.0.18", + "thiserror", "tokio", "tracing", ] @@ -1732,12 +1730,76 @@ dependencies = [ "windows-sys 0.61.2", ] +[[package]] +name = "num" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23" +dependencies = [ + "num-bigint", + "num-complex", + "num-integer", + "num-iter", + "num-rational", + "num-traits", +] + +[[package]] +name = "num-bigint" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-complex" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" +dependencies = [ + "num-traits", +] + [[package]] name = "num-conv" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" +[[package]] +name = "num-integer" +version = "0.1.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-iter" +version = "0.1.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-rational" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" +dependencies = [ + "num-bigint", + "num-integer", + "num-traits", +] + [[package]] name = "num-traits" version = "0.2.19" @@ -1807,7 +1869,7 @@ dependencies = [ "futures-sink", "js-sys", "pin-project-lite", - "thiserror 2.0.18", + "thiserror", "tracing", ] @@ -1819,7 +1881,7 @@ checksum = "5683015d09e2df236ef005b17f6f196f0d5f6313c4fa43a7b6a53b52776e4331" dependencies = [ "async-trait", "bytes", - "http 1.4.1", + "http", "opentelemetry", "reqwest 0.13.4", ] @@ -1830,14 +1892,14 @@ version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9966929966d17620d7c316c643ba62631826e10021409357772d5eea84f62c35" dependencies = [ - "http 1.4.1", + "http", "opentelemetry", "opentelemetry-http", "opentelemetry-proto", "opentelemetry_sdk", "prost", "reqwest 0.13.4", - "thiserror 2.0.18", + "thiserror", ] [[package]] @@ -1864,7 +1926,7 @@ dependencies = [ "percent-encoding", "portable-atomic", "rand 0.9.4", - "thiserror 2.0.18", + "thiserror", ] [[package]] @@ -2066,7 +2128,7 @@ dependencies = [ "rook-core", "rusqlite", "shared-kernel", - "thiserror 2.0.18", + "thiserror", "tokio", ] @@ -2084,7 +2146,7 @@ dependencies = [ "serde_json", "shared-kernel", "sse-stream", - "thiserror 2.0.18", + "thiserror", "tokio", "tracing", "wiremock", @@ -2101,7 +2163,7 @@ dependencies = [ "rook-core", "serde", "shared-kernel", - "thiserror 2.0.18", + "thiserror", "tokio", "tracing", "wiremock", @@ -2118,7 +2180,7 @@ dependencies = [ "rook-core", "serde", "shared-kernel", - "thiserror 2.0.18", + "thiserror", "tokio", "tracing", "wiremock", @@ -2136,7 +2198,7 @@ dependencies = [ "serde", "serde_json", "shared-kernel", - "thiserror 2.0.18", + "thiserror", "tokio", "tracing", "wiremock", @@ -2156,7 +2218,7 @@ dependencies = [ "serde_json", "shared-kernel", "sse-stream", - "thiserror 2.0.18", + "thiserror", "tokio", "tracing", "wiremock", @@ -2191,7 +2253,7 @@ dependencies = [ "rustc-hash", "rustls", "socket2", - "thiserror 2.0.18", + "thiserror", "tokio", "tracing", "web-time", @@ -2212,7 +2274,7 @@ dependencies = [ "rustls", "rustls-pki-types", "slab", - "thiserror 2.0.18", + "thiserror", "tinyvec", "tracing", "web-time", @@ -2274,6 +2336,17 @@ dependencies = [ "rand_core 0.9.5", ] +[[package]] +name = "rand" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2e8e8bcc7961af1fdac401278c6a831614941f6164ee3bf4ce61b7edb162207" +dependencies = [ + "chacha20", + "getrandom 0.4.2", + "rand_core 0.10.1", +] + [[package]] name = "rand_chacha" version = "0.3.1" @@ -2312,6 +2385,12 @@ dependencies = [ "getrandom 0.3.4", ] +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + [[package]] name = "rand_xoshiro" version = "0.7.0" @@ -2356,7 +2435,7 @@ checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" dependencies = [ "getrandom 0.2.17", "libredox", - "thiserror 2.0.18", + "thiserror", ] [[package]] @@ -2382,7 +2461,7 @@ dependencies = [ "rusqlite", "serde", "siphasher", - "thiserror 2.0.18", + "thiserror", "time", "toml 0.8.23", "url", @@ -2441,7 +2520,7 @@ dependencies = [ "bytes", "futures-core", "futures-util", - "http 1.4.1", + "http", "http-body", "http-body-util", "hyper", @@ -2483,7 +2562,7 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "http 1.4.1", + "http", "http-body", "http-body-util", "hyper", @@ -2509,7 +2588,7 @@ version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94070964579245eb2f76e62a7668fe87bd9969ed6c41256f3bf614e3323dd3cc" dependencies = [ - "thiserror 2.0.18", + "thiserror", ] [[package]] @@ -2534,7 +2613,7 @@ dependencies = [ "async-trait", "audit-sqlite", "auth-sqlite", - "axum 0.8.9", + "axum", "bytes", "cache-memory", "clap", @@ -2579,7 +2658,7 @@ dependencies = [ "serde_json", "shared-kernel", "smol_str", - "thiserror 2.0.18", + "thiserror", "tokio", "tracing", "uuid", @@ -2604,7 +2683,7 @@ dependencies = [ "sha2 0.11.0", "shared-kernel", "subtle", - "thiserror 2.0.18", + "thiserror", "time", "tokio", "tracing", @@ -2661,18 +2740,17 @@ dependencies = [ [[package]] name = "rust-multipart-rfc7578_2" -version = "0.6.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b748410c0afdef2ebbe3685a6a862e2ee937127cdaae623336a459451c8d57" +checksum = "00bdaa068902270ca7fa8619775e1838e23a63620abac0947ce0f715819b8cec" dependencies = [ "bytes", "futures-core", "futures-util", - "http 0.2.12", + "http", "mime", - "mime_guess", - "rand 0.8.6", - "thiserror 1.0.69", + "rand 0.10.1", + "thiserror", ] [[package]] @@ -2937,7 +3015,7 @@ dependencies = [ "futures", "serde", "smol_str", - "thiserror 2.0.18", + "thiserror", "time", "tokio", "uuid", @@ -3069,33 +3147,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]] @@ -3330,7 +3388,7 @@ dependencies = [ "bitflags", "bytes", "futures-util", - "http 1.4.1", + "http", "http-body", "http-body-util", "pin-project-lite", @@ -3434,7 +3492,7 @@ version = "0.1.0" dependencies = [ "anyhow", "async-trait", - "axum 0.8.9", + "axum", "axum-test", "base64", "chrono", @@ -3448,7 +3506,7 @@ dependencies = [ "serde_json", "sha2 0.11.0", "shared-kernel", - "thiserror 2.0.18", + "thiserror", "tokio", "tower", "tower-http", @@ -3471,12 +3529,42 @@ dependencies = [ "linked-hash-map", ] +[[package]] +name = "typeid" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" + [[package]] name = "typenum" version = "1.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40ce102ab67701b8526c123c1bab5cbe42d7040ccfd0f64af1a385808d2f43de" +[[package]] +name = "typetag" +version = "0.2.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5a897b12c6c1151ad0b138b8db50252dc301f93bc3b027db05eec82aeed298c" +dependencies = [ + "erased-serde", + "inventory", + "once_cell", + "serde", + "typetag-impl", +] + +[[package]] +name = "typetag-impl" +version = "0.2.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf808357c6ed7e13ba0f3277ec8d8f21b2d501274895104263985330c726c1c5" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "uncased" version = "0.9.10" @@ -4019,7 +4107,7 @@ dependencies = [ "base64", "deadpool", "futures", - "http 1.4.1", + "http", "http-body-util", "hyper", "hyper-util", diff --git a/crates/infrastructure/transport-axum/Cargo.toml b/crates/infrastructure/transport-axum/Cargo.toml index 7d4f63a9..3c6bce3c 100644 --- a/crates/infrastructure/transport-axum/Cargo.toml +++ b/crates/infrastructure/transport-axum/Cargo.toml @@ -40,6 +40,6 @@ tracing = "0.1" sha2 = "0.11" [dev-dependencies] -axum-test = "15" +axum-test = "20" encryption-inmemory = { path = "../encryption-inmemory" }