diff --git a/Cargo.lock b/Cargo.lock index ebeb733a..2ba0c2d2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1053,7 +1053,7 @@ checksum = "ec8c1bb47161c37286e40e2fa58055e97b2a2b6cf1022a6686967e10636fa5d7" dependencies = [ "async-graphql", "async-trait", - "axum", + "axum 0.7.9", "bytes", "futures-util", "serde_json", @@ -1428,7 +1428,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", @@ -1438,7 +1438,7 @@ dependencies = [ "hyper 1.5.1", "hyper-util", "itoa", - "matchit", + "matchit 0.7.3", "memchr", "mime", "percent-encoding", @@ -1458,6 +1458,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" @@ -1479,14 +1508,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", @@ -3807,7 +3855,7 @@ dependencies = [ "alloy-rlp", "anyhow", "async-trait", - "axum", + "axum 0.8.1", "base64 0.22.1", "build-info", "bytes", @@ -3835,7 +3883,7 @@ name = "indexer-monitor" version = "0.1.0" dependencies = [ "anyhow", - "axum", + "axum 0.8.1", "bip39", "env_logger", "graphql_client", @@ -3885,7 +3933,7 @@ dependencies = [ "async-graphql-axum", "async-trait", "autometrics", - "axum", + "axum 0.8.1", "axum-extra", "base64 0.22.1", "bigdecimal", @@ -3943,7 +3991,7 @@ version = "1.9.0" dependencies = [ "anyhow", "async-trait", - "axum", + "axum 0.8.1", "bigdecimal", "bon 3.3.2", "clap", @@ -4502,6 +4550,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" @@ -7355,7 +7409,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", @@ -7817,7 +7871,7 @@ checksum = "877c5b330756d856ffcc4553ab34a5684481ade925ecc54bcd1bf02b1d0d4d52" dependencies = [ "async-stream", "async-trait", - "axum", + "axum 0.7.9", "base64 0.22.1", "bytes", "flate2", @@ -7956,7 +8010,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", diff --git a/Cargo.toml b/Cargo.toml index 084d58b2..3ce5b525 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 cd072279..555157c4 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"