diff --git a/Cargo.lock b/Cargo.lock index bc5e1ef..f6beb78 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -107,7 +107,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acee9fd5073ab6b045a275b3e709c163dd36c90685219cb21804a147b58dba43" dependencies = [ "async-trait", - "axum-core", + "axum-core 0.2.9", "bitflags", "bytes", "futures-util", @@ -116,7 +116,7 @@ dependencies = [ "http-body", "hyper", "itoa", - "matchit", + "matchit 0.5.0", "memchr", "mime", "multer", @@ -133,6 +133,34 @@ dependencies = [ "tower-service", ] +[[package]] +name = "axum" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13d8068b6ccb8b34db9de397c7043f91db8b4c66414952c6db944f238c4d3db3" +dependencies = [ + "async-trait", + "axum-core 0.3.3", + "bitflags", + "bytes", + "futures-util", + "http", + "http-body", + "hyper", + "itoa", + "matchit 0.7.0", + "memchr", + "mime", + "percent-encoding", + "pin-project-lite", + "rustversion", + "serde", + "sync_wrapper", + "tower", + "tower-layer", + "tower-service", +] + [[package]] name = "axum-core" version = "0.2.9" @@ -149,13 +177,30 @@ dependencies = [ "tower-service", ] +[[package]] +name = "axum-core" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2f958c80c248b34b9a877a643811be8dbca03ca5ba827f2b63baf3a81e5fc4e" +dependencies = [ + "async-trait", + "bytes", + "futures-util", + "http", + "http-body", + "mime", + "rustversion", + "tower-layer", + "tower-service", +] + [[package]] name = "axum-extra" -version = "0.3.7" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69034b3b0fd97923eee2ce8a47540edb21e07f48f87f67d44bb4271cec622bdb" +checksum = "2094b0e3a4f9c2589cbfdaa7eaab9ba9f9f4ab12c601eff22ae4f964340d0e5d" dependencies = [ - "axum", + "axum 0.6.11", "bytes", "cookie", "futures-util", @@ -164,7 +209,7 @@ dependencies = [ "pin-project-lite", "tokio", "tower", - "tower-http 0.3.5", + "tower-http 0.4.0", "tower-layer", "tower-service", ] @@ -188,7 +233,7 @@ dependencies = [ "aes-gcm", "anyhow", "askama", - "axum", + "axum 0.5.17", "axum-extra", "base64 0.13.1", "clap", @@ -331,9 +376,9 @@ dependencies = [ [[package]] name = "cookie" -version = "0.16.2" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e859cd57d0710d9e06c381b550c06e76992472a8c6d527aecd2fc673dcc231fb" +checksum = "7efb37c3e1ccb1ff97164ad95ac1606e8ccd35b3fa0a7d99a304c7f4a428cc24" dependencies = [ "percent-encoding", "time", @@ -921,6 +966,12 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73cbba799671b762df5a175adf59ce145165747bb891505c43d09aefbbf38beb" +[[package]] +name = "matchit" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b87248edafb776e59e6ee64a79086f65890d3510f2c656c000bf2a7e8a0aea40" + [[package]] name = "memchr" version = "2.5.0" @@ -1369,6 +1420,12 @@ dependencies = [ "base64 0.21.0", ] +[[package]] +name = "rustversion" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06" + [[package]] name = "ryu" version = "1.0.13" diff --git a/Cargo.toml b/Cargo.toml index 32e5b83..63c5b89 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ aes-gcm = { version = "0.9.4", default-features = false, features = ["aes", "std anyhow = { version = "1.0.70", default-features = false, features = ["std"] } askama = { version = "0.12.0", default-features = false } axum = { version = "0.5.17", default-features = false, features = ["headers", "json", "multipart", "query"] } -axum-extra = { version = "0.3.7", default-features = false, features = ["cookie"] } +axum-extra = { version = "0.7.1", default-features = false, features = ["cookie"] } base64 = { version = "0.13.1", default-features = false } clap = { version = "4.1.9", default-features = false, features = ["derive", "error-context", "help", "std", "usage", "wrap_help"] } confargs = { version = "0.1.1", default-features = false }