From 35ffe8b0afa906b5488092bb415744874bce5fe8 Mon Sep 17 00:00:00 2001 From: Kasper Juul Hermansen Date: Thu, 25 Jan 2024 09:29:02 +0000 Subject: [PATCH] chore(deps): update all dependencies --- Cargo.lock | 133 ++++++++++++++++++----------------------------------- Cargo.toml | 10 ++-- 2 files changed, 51 insertions(+), 92 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 385961c..1c54b42 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -454,7 +454,6 @@ checksum = "3b829e4e32b91e643de6eafe82b1d90675f5874230191a4ffbc1b336dec4d6bf" dependencies = [ "async-trait", "axum-core 0.3.4", - "axum-macros 0.3.8", "bitflags 1.3.2", "bytes", "futures-util", @@ -482,19 +481,19 @@ dependencies = [ [[package]] name = "axum" -version = "0.7.1" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "810a80b128d70e6ed2bdf3fe8ed72c0ae56f5f5948d01c2753282dd92a84fce8" +checksum = "1236b4b292f6c4d6dc34604bb5120d85c3fe1d1aa596bd5cc52ca054d13e7b9e" dependencies = [ "async-trait", - "axum-core 0.4.0", - "axum-macros 0.4.0", + "axum-core 0.4.3", + "axum-macros", "bytes", "futures-util", "http 1.0.0", "http-body 1.0.0", "http-body-util", - "hyper 1.0.1", + "hyper 1.1.0", "hyper-util", "itoa", "matchit", @@ -512,6 +511,7 @@ dependencies = [ "tower", "tower-layer", "tower-service", + "tracing", ] [[package]] @@ -533,9 +533,9 @@ dependencies = [ [[package]] name = "axum-core" -version = "0.4.0" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de0ddc355eab88f4955090a823715df47acf0b7660aab7a69ad5ce6301ee3b73" +checksum = "a15c63fd72d41492dc4f497196f5da1fb04fb7529e631d73630d1b491e47a2e3" dependencies = [ "async-trait", "bytes", @@ -549,6 +549,7 @@ dependencies = [ "sync_wrapper", "tower-layer", "tower-service", + "tracing", ] [[package]] @@ -575,33 +576,12 @@ dependencies = [ [[package]] name = "axum-extra" -version = "0.8.0" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ab90e7b70bea63a153137162affb6a0bce26b584c24a4c7885509783e2cf30b" +checksum = "895ff42f72016617773af68fb90da2a9677d89c62338ec09162d4909d86fdd8f" dependencies = [ - "axum 0.6.20", - "axum-core 0.3.4", - "bytes", - "futures-util", - "http 0.2.11", - "http-body 0.4.5", - "mime", - "pin-project-lite", - "serde", - "tokio", - "tower", - "tower-layer", - "tower-service", -] - -[[package]] -name = "axum-extra" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "523ae92256049a3b02d3bb4df80152386cd97ddba0c8c5077619bdc8c4b1859b" -dependencies = [ - "axum 0.7.1", - "axum-core 0.4.0", + "axum 0.7.4", + "axum-core 0.4.3", "bytes", "cookie 0.18.0", "futures-util", @@ -619,21 +599,9 @@ dependencies = [ [[package]] name = "axum-macros" -version = "0.3.8" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdca6a10ecad987bda04e95606ef85a5417dcaac1a78455242d72e031e2b6b62" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn 2.0.39", -] - -[[package]] -name = "axum-macros" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a2edad600410b905404c594e2523549f1bcd4bded1e252c8f74524ccce0b867" +checksum = "00c055ee2d014ae5981ce1016374e8213682aa14d9bf40e48ab48b5f3ef20eaa" dependencies = [ "heck", "proc-macro2", @@ -710,7 +678,7 @@ name = "basic" version = "0.1.0" dependencies = [ "anyhow", - "axum 0.7.1", + "axum 0.7.4", "clap 4.4.10", "nefarious-login", "tokio", @@ -859,7 +827,7 @@ name = "clap" version = "0.1.0" dependencies = [ "anyhow", - "axum 0.7.1", + "axum 0.7.4", "clap 4.4.10", "nefarious-login", "tokio", @@ -1129,7 +1097,7 @@ name = "custom_redirect" version = "0.1.0" dependencies = [ "anyhow", - "axum 0.7.1", + "axum 0.7.4", "clap 4.4.10", "nefarious-login", "tokio", @@ -1929,12 +1897,6 @@ dependencies = [ "pin-project-lite", ] -[[package]] -name = "http-range-header" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" - [[package]] name = "httparse" version = "1.8.0" @@ -1973,9 +1935,9 @@ dependencies = [ [[package]] name = "hyper" -version = "1.0.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "403f9214f3e703236b221f1a9cd88ec8b4adfa5296de01ab96216361f4692f56" +checksum = "fb5aa53871fc917b1a9ed87b683a5d86db645e23acb32c2e0785a353e522fb75" dependencies = [ "bytes", "futures-channel", @@ -2006,21 +1968,19 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ca339002caeb0d159cc6e023dff48e199f081e42fa039895c7c6f38b37f2e9d" +checksum = "bdea9aac0dbe5a9240d68cfd9501e2db94222c6dc06843e06640b9e07f0fdc67" dependencies = [ "bytes", "futures-channel", "futures-util", "http 1.0.0", "http-body 1.0.0", - "hyper 1.0.1", + "hyper 1.1.0", "pin-project-lite", "socket2 0.5.5", "tokio", - "tower", - "tower-service", "tracing", ] @@ -2155,11 +2115,12 @@ dependencies = [ [[package]] name = "jsonwebtoken" -version = "9.1.0" +version = "9.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "155c4d7e39ad04c172c5e3a99c434ea3b4a7ba7960b38ecd562b270b097cce09" +checksum = "5c7ea04a7c5c055c175f189b6dc6ba036fd62306b58c66c9f6389036c503a3f4" dependencies = [ "base64 0.21.5", + "js-sys", "pem", "ring", "serde", @@ -2338,8 +2299,8 @@ dependencies = [ "anyhow", "async-sqlx-session", "async-trait", - "axum 0.7.1", - "axum-extra 0.9.0", + "axum 0.7.4", + "axum-extra 0.9.2", "axum-sessions", "clap 4.4.10", "oauth2", @@ -2383,7 +2344,7 @@ name = "noop" version = "0.1.0" dependencies = [ "anyhow", - "axum 0.7.1", + "axum 0.7.4", "clap 4.4.10", "nefarious-login", "tokio", @@ -2988,9 +2949,9 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "reqwest" -version = "0.11.22" +version = "0.11.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "046cd98826c46c2ac8ddecae268eb5c2e58628688a5fc7a2643704a73faba95b" +checksum = "37b1ae8d9ac08420c66222fb9096fc5de435c3c48542bc5336c51892cffafb41" dependencies = [ "base64 0.21.5", "bytes", @@ -3930,9 +3891,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5" +checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e" dependencies = [ "deranged", "itoa", @@ -3950,9 +3911,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20" +checksum = "26197e33420244aeb70c3e8c78376ca46571bc4e701e4791c2cd9f57dcb3a43f" dependencies = [ "time-core", ] @@ -4055,17 +4016,15 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.4.4" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" +checksum = "0da193277a4e2c33e59e09b5861580c33dd0a637c3883d0fa74ba40c0374af2e" dependencies = [ "bitflags 2.4.1", "bytes", - "futures-core", - "futures-util", - "http 0.2.11", - "http-body 0.4.5", - "http-range-header", + "http 1.0.0", + "http-body 1.0.0", + "http-body-util", "pin-project-lite", "tower-layer", "tower-service", @@ -4233,9 +4192,9 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] name = "uuid" -version = "1.6.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560" +checksum = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a" dependencies = [ "getrandom", ] @@ -4593,12 +4552,12 @@ checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" [[package]] name = "zitadel" -version = "3.4.29" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aab76990d831d980e72e52f6eed5ef8e4a740ee7ad14c65e1a3374b974f92258" +checksum = "c252192c0c35f09c3fc88d565227854d7e3790f0f71bf3dd4dea4e3baf08c646" dependencies = [ - "axum 0.6.20", - "axum-extra 0.8.0", + "axum 0.7.4", + "axum-extra 0.9.2", "base64-compat", "custom_error", "jsonwebtoken", diff --git a/Cargo.toml b/Cargo.toml index 394fa47..968b1f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,10 +13,10 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] } clap = { version = "4", features = ["derive", "env"] } async-trait = { version = "0.1", features = [] } -axum = { version = "0.7.1", features = [ +axum = { version = "0.7.4", features = [ "macros", ] } -axum-extra = { version = "0.9.0", features = [ +axum-extra = { version = "0.9.2", features = [ "cookie", "cookie-private", "typed-header", @@ -27,16 +27,16 @@ async-sqlx-session = { version = "0.4.0", features = ["pg"] } serde = { version = "1", features = ["derive"] } serde_json = { version = "1" } -uuid = {version = "1.5.0", features = ["v4"]} +uuid = {version = "1.7.0", features = ["v4"]} sqlx = { version = "0.7", features = [ "runtime-tokio", "postgres", "migrate", ] } -zitadel = { version = "3.4", features = ["axum"] } +zitadel = { version = "4.0", features = ["axum"] } tower = "0.4" -tower-http = { version = "0.4", features = ["cors", "trace"] } +tower-http = { version = "0.5", features = ["cors", "trace"] } oauth2 = "4.4.2" openidconnect = "3.4"