From 4bdad06c41d47ed84b5130164cae479cc547a29b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 01:25:41 +0000 Subject: [PATCH] Bump axum_csrf from 0.7.2 to 0.9.0 Bumps [axum_csrf](https://github.com/AscendingCreations/AxumCSRF) from 0.7.2 to 0.9.0. - [Release notes](https://github.com/AscendingCreations/AxumCSRF/releases) - [Changelog](https://github.com/AscendingCreations/AxumCSRF/blob/main/CHANGELOG.md) - [Commits](https://github.com/AscendingCreations/AxumCSRF/commits/v0.9.0) --- updated-dependencies: - dependency-name: axum_csrf dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 160 +++++++++++++++++++++++++++++++++-------------------- Cargo.toml | 2 +- 2 files changed, 101 insertions(+), 61 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 47b48cf..af1aad0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -170,18 +170,6 @@ version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f907281554a3d0312bb7aab855a8e0ef6cbf1614d06de54105039ca8b34460e" -[[package]] -name = "argon2" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c3610892ee6e0cbce8ae2700349fcf8f98adb0dbfbee85aec3c9179d29cc072" -dependencies = [ - "base64ct", - "blake2", - "cpufeatures", - "password-hash", -] - [[package]] name = "argon2-kdf" version = "1.5.2" @@ -226,8 +214,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07b336dea26a2eb67f04e1134385721f794b654a870ce5146d2fcb69ea39c3a4" dependencies = [ "askama", - "axum-core", - "http", + "axum-core 0.3.4", + "http 0.2.11", ] [[package]] @@ -520,14 +508,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b829e4e32b91e643de6eafe82b1d90675f5874230191a4ffbc1b336dec4d6bf" dependencies = [ "async-trait", - "axum-core", + "axum-core 0.3.4", "axum-macros", "bitflags 1.3.2", "bytes", "futures-util", "headers", - "http", - "http-body", + "http 0.2.11", + "http-body 0.4.6", "hyper", "itoa", "matchit", @@ -568,8 +556,8 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http", - "http-body", + "http 0.2.11", + "http-body 0.4.6", "mime", "rustversion", "tower-layer", @@ -577,6 +565,26 @@ dependencies = [ "tracing", ] +[[package]] +name = "axum-core" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a15c63fd72d41492dc4f497196f5da1fb04fb7529e631d73630d1b491e47a2e3" +dependencies = [ + "async-trait", + "bytes", + "futures-util", + "http 1.0.0", + "http-body 1.0.0", + "http-body-util", + "mime", + "pin-project-lite", + "rustversion", + "sync_wrapper", + "tower-layer", + "tower-service", +] + [[package]] name = "axum-extra" version = "0.7.7" @@ -584,12 +592,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a93e433be9382c737320af3924f7d5fc6f89c155cf2bf88949d8f5126fab283f" dependencies = [ "axum", - "axum-core", + "axum-core 0.3.4", "bytes", - "cookie", + "cookie 0.17.0", "futures-util", - "http", - "http-body", + "http 0.2.11", + "http-body 0.4.6", "mime", "pin-project-lite", "serde", @@ -644,7 +652,7 @@ dependencies = [ "axum", "axum-extra", "futures", - "http-body", + "http-body 0.4.6", "tokio", "tower", "tracing", @@ -652,16 +660,18 @@ dependencies = [ [[package]] name = "axum_csrf" -version = "0.7.2" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "362fcef4c28a7834c5c2e0b021b5a538a5d16a5be8c543edbf9e18e1d2206115" +checksum = "92ed8927cd3b48bca39fdc2ccee04781652c9e3fa09f87446f66435d959ca10f" dependencies = [ - "argon2", "async-trait", - "axum-core", - "cookie", - "http", + "axum-core 0.4.3", + "base64ct", + "cookie 0.18.0", + "hmac 0.12.1", + "http 1.0.0", "rand", + "sha2 0.10.8", "thiserror", "time", "tower-layer", @@ -757,15 +767,6 @@ dependencies = [ "serde", ] -[[package]] -name = "blake2" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe" -dependencies = [ - "digest 0.10.7", -] - [[package]] name = "blake3" version = "0.3.8" @@ -980,6 +981,22 @@ name = "cookie" version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7efb37c3e1ccb1ff97164ad95ac1606e8ccd35b3fa0a7d99a304c7f4a428cc24" +dependencies = [ + "base64 0.21.7", + "hmac 0.12.1", + "percent-encoding", + "rand", + "sha2 0.10.8", + "subtle", + "time", + "version_check", +] + +[[package]] +name = "cookie" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3cd91cf61412820176e137621345ee43b3f4423e589e7ae4e50d601d93e35ef8" dependencies = [ "aes-gcm", "base64 0.21.7", @@ -1575,7 +1592,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.11", "indexmap", "slab", "tokio", @@ -1611,7 +1628,7 @@ dependencies = [ "base64 0.21.7", "bytes", "headers-core", - "http", + "http 0.2.11", "httpdate", "mime", "sha1", @@ -1623,7 +1640,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" dependencies = [ - "http", + "http 0.2.11", ] [[package]] @@ -1695,6 +1712,17 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b32afd38673a8016f7c9ae69e5af41a58f81b1d31689040f2f1959594ce194ea" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + [[package]] name = "http-body" version = "0.4.6" @@ -1702,7 +1730,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", - "http", + "http 0.2.11", + "pin-project-lite", +] + +[[package]] +name = "http-body" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643" +dependencies = [ + "bytes", + "http 1.0.0", +] + +[[package]] +name = "http-body-util" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41cb79eb393015dadd30fc252023adb0b2400a0caee0fa2a077e6e21a551e840" +dependencies = [ + "bytes", + "futures-util", + "http 1.0.0", + "http-body 1.0.0", "pin-project-lite", ] @@ -1744,8 +1795,8 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", - "http-body", + "http 0.2.11", + "http-body 0.4.6", "httparse", "httpdate", "itoa", @@ -2327,17 +2378,6 @@ dependencies = [ "windows-targets 0.48.5", ] -[[package]] -name = "password-hash" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" -dependencies = [ - "base64ct", - "rand_core", - "subtle", -] - [[package]] name = "paste" version = "1.0.14" @@ -3630,8 +3670,8 @@ dependencies = [ "bytes", "futures-core", "futures-util", - "http", - "http-body", + "http 0.2.11", + "http-body 0.4.6", "http-range-header", "pin-project-lite", "tower-layer", @@ -3648,8 +3688,8 @@ dependencies = [ "bytes", "futures-core", "futures-util", - "http", - "http-body", + "http 0.2.11", + "http-body 0.4.6", "http-range-header", "httpdate", "mime", diff --git a/Cargo.toml b/Cargo.toml index f919286..b661a09 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,7 +55,7 @@ askama_axum = "0.3.0" async-fred-session = "0.1.5" axum = { version = "0.6.20", features = ["macros", "http2", "headers"] } axum-client-ip = "0.4.2" -axum_csrf = { version = "0.7.2", features = ["layer"] } +axum_csrf = { version = "0.9.0", features = ["layer"] } axum-login = "0.5.0" base64ct = { version = "1.6.0", features = ["std"] } dotenvy = "0.15.7"