diff --git a/Cargo.lock b/Cargo.lock index f4697d3a8..029bd6c50 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1047,7 +1047,7 @@ checksum = "ec8c1bb47161c37286e40e2fa58055e97b2a2b6cf1022a6686967e10636fa5d7" dependencies = [ "async-graphql", "async-trait", - "axum", + "axum 0.7.9", "bytes", "futures-util", "serde_json", @@ -1422,7 +1422,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" dependencies = [ "async-trait", - "axum-core", + "axum-core 0.4.5", "base64 0.22.1", "bytes", "futures-util", @@ -1432,7 +1432,7 @@ dependencies = [ "hyper 1.5.1", "hyper-util", "itoa", - "matchit", + "matchit 0.7.3", "memchr", "mime", "percent-encoding", @@ -1452,6 +1452,35 @@ dependencies = [ "tracing", ] +[[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", + "bytes", + "futures-util", + "http 1.1.0", + "http-body 1.0.1", + "http-body-util", + "hyper 1.5.1", + "hyper-util", + "itoa", + "matchit 0.8.4", + "memchr", + "mime", + "percent-encoding", + "pin-project-lite", + "rustversion", + "serde", + "sync_wrapper 1.0.2", + "tokio", + "tower 0.5.2", + "tower-layer", + "tower-service", +] + [[package]] name = "axum-core" version = "0.4.5" @@ -1473,14 +1502,33 @@ 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.1.0", + "http-body 1.0.1", + "http-body-util", + "mime", + "pin-project-lite", + "rustversion", + "sync_wrapper 1.0.2", + "tower-layer", + "tower-service", +] + [[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", "futures-util", "headers", @@ -3350,7 +3398,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.10", + "socket2 0.5.8", "tokio", "tower-service", "tracing", @@ -3713,7 +3761,7 @@ name = "indexer-monitor" version = "0.1.0" dependencies = [ "anyhow", - "axum", + "axum 0.8.1", "bip39", "env_logger", "graphql_client", @@ -3763,7 +3811,7 @@ dependencies = [ "async-graphql-axum", "async-trait", "autometrics", - "axum", + "axum 0.8.1", "axum-extra", "base64 0.22.1", "bigdecimal", @@ -3821,7 +3869,7 @@ version = "1.8.0" dependencies = [ "anyhow", "async-trait", - "axum", + "axum 0.8.1", "bigdecimal", "bon 3.3.2", "clap", @@ -4326,6 +4374,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" @@ -5260,8 +5314,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c1318b19085f08681016926435853bbf7858f9c082d0999b80550ff5d9abe15" dependencies = [ "bytes", - "heck 0.4.1", - "itertools 0.10.5", + "heck 0.5.0", + "itertools 0.13.0", "log", "multimap", "once_cell", @@ -5281,7 +5335,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "157c5a9d7ea5c2ed2d9fb8f495b64759f7816c7eaea54ba3978f0d63000162e3" dependencies = [ "anyhow", - "itertools 0.10.5", + "itertools 0.13.0", "proc-macro2", "quote", "syn 2.0.90", @@ -7023,7 +7077,7 @@ source = "git+https://github.com/semiotic-ai/timeline-aggregation-protocol?rev=9 dependencies = [ "alloy", "anyhow", - "axum", + "axum 0.7.9", "clap", "futures-util", "hyper 1.5.1", @@ -7474,7 +7528,7 @@ checksum = "877c5b330756d856ffcc4553ab34a5684481ade925ecc54bcd1bf02b1d0d4d52" dependencies = [ "async-stream", "async-trait", - "axum", + "axum 0.7.9", "base64 0.22.1", "bytes", "flate2", @@ -7613,7 +7667,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe9ce4d13ec8b7228fa4003e31ea6cfe27b113c9ba51d323aeb4bbe394ef06fe" dependencies = [ - "axum", + "axum 0.7.9", "forwarded-header-value", "governor", "http 1.1.0", @@ -8181,7 +8235,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.59.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 71d412abc..1d5af75ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ opt-level = 3 [workspace.dependencies] clap = "4.4.3" lazy_static = "1.4.0" -axum = { version = "0.7.9", default-features = false, features = [ +axum = { version = "0.8.0", default-features = false, features = [ "tokio", "http1", "http2", diff --git a/crates/service/Cargo.toml b/crates/service/Cargo.toml index a38ee774c..659620068 100644 --- a/crates/service/Cargo.toml +++ b/crates/service/Cargo.toml @@ -50,7 +50,7 @@ tower-http = { version = "0.6.2", features = [ "trace", ] } autometrics = { version = "1.0.1", features = ["prometheus-exporter"] } -axum-extra = { version = "0.9.3", features = [ +axum-extra = { version = "0.10.0", features = [ "typed-header", ], default-features = false } tokio-util = "0.7.10"