diff --git a/Cargo.lock b/Cargo.lock index d56712658..2f8c0f9c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -154,7 +154,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2477554ebf38aea815a9c4729100cfc32f766876c45b9c9c38ef221b9d1a703" dependencies = [ "axum 0.8.9", - "axum-extra", + "axum-extra 0.10.3", "bytes 1.12.1", "cfg-if", "http 1.4.2", @@ -602,11 +602,34 @@ name = "axum-extra" version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9963ff19f40c6102c76756ef0a46004c0d58957d87259fc9208ff8441c12ab96" +dependencies = [ + "axum 0.8.9", + "axum-core 0.5.6", + "bytes 1.12.1", + "futures-util", + "http 1.4.2", + "http-body 1.1.0", + "http-body-util", + "mime", + "pin-project-lite 0.2.17", + "rustversion", + "serde_core", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "axum-extra" +version = "0.12.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be44683b41ccb9ab2d23a5230015c9c3c55be97a25e4428366de8873103f7970" dependencies = [ "axum 0.8.9", "axum-core 0.5.6", "bytes 1.12.1", "form_urlencoded", + "futures-core", "futures-util", "headers", "http 1.4.2", @@ -614,7 +637,6 @@ dependencies = [ "http-body-util", "mime", "pin-project-lite 0.2.17", - "rustversion", "serde_core", "serde_html_form", "serde_path_to_error", @@ -1777,7 +1799,7 @@ dependencies = [ "argon2", "async-trait", "axum 0.8.9", - "axum-extra", + "axum-extra 0.12.6", "backoff", "base64 0.23.1", "bitflags 2.13.1", diff --git a/devolutions-gateway/Cargo.toml b/devolutions-gateway/Cargo.toml index 8a284666b..e9ce9a71f 100644 --- a/devolutions-gateway/Cargo.toml +++ b/devolutions-gateway/Cargo.toml @@ -101,7 +101,7 @@ ngrok = "0.13" hyper = "1.6" hyper-util = { version = "0.1", features = ["tokio", "server", "server-auto"] } axum = { version = "0.8", default-features = false, features = ["http1", "json", "ws", "query", "tracing", "tower-log"] } -axum-extra = { version = "0.10", features = ["query", "async-read-body", "typed-header"] } +axum-extra = { version = "0.12", features = ["query", "async-read-body", "typed-header"] } tower-http = { version = "0.5", features = ["cors", "fs"] } tungstenite = "0.29" # Should be the same version as `axum` (we perform error downcasting for better error reporting) tokio-tungstenite = { version = "0.29", features = ["rustls-tls-native-roots"] } # Should use the same version of tungstenite as `axum`