diff --git a/Cargo.lock b/Cargo.lock index 3791457..58ecd40 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -141,6 +141,7 @@ dependencies = [ "bitflags", "bytes", "futures-util", + "headers", "http", "http-body", "hyper", @@ -152,7 +153,11 @@ dependencies = [ "pin-project-lite", "rustversion", "serde", + "serde_json", + "serde_path_to_error", + "serde_urlencoded", "sync_wrapper", + "tokio", "tower", "tower-http 0.3.4", "tower-layer", @@ -783,7 +788,7 @@ version = "1.2.8" dependencies = [ "anyhow", "approx", - "axum 0.5.17", + "axum 0.6.1", "axum-extra 0.4.1", "byteorder", "clap 4.0.29", @@ -2050,6 +2055,15 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_path_to_error" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "184c643044780f7ceb59104cef98a5a6f12cb2288a7bc701ab93a362b49fd47d" +dependencies = [ + "serde", +] + [[package]] name = "serde_urlencoded" version = "0.7.1" diff --git a/Cargo.toml b/Cargo.toml index e8eea20..ca21a6f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ futures-util = { optional = true, version = "0.3", default-features = false, fea [dev-dependencies] approx = "0.5" -axum = { version = "0.5", features = ["headers"] } +axum = { version = "0.6", features = ["headers"] } axum-extra = { version = "0.4", features = ["typed-routing"] } clap = { version = "4.0.29", features = ["derive"] } criterion = "0.3"