From 6c1400604492503a3d4aad97c1d175b60d30e576 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 20:00:53 +0000 Subject: [PATCH] fix(deps): update rust crate utoipa-swagger-ui to v8 --- Cargo.lock | 130 ++++++++++++++++++++++------------------------ server/Cargo.toml | 2 +- 2 files changed, 62 insertions(+), 70 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9a90e4ec..bc03c334 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -972,9 +972,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.14.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "bytes" @@ -2291,6 +2291,12 @@ dependencies = [ "scopeguard", ] +[[package]] +name = "lockfree-object-pool" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e" + [[package]] name = "log" version = "0.4.21" @@ -2464,27 +2470,6 @@ dependencies = [ "libc", ] -[[package]] -name = "num_enum" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02339744ee7253741199f897151b38e72257d13802d4ee837285cc2990a90845" -dependencies = [ - "num_enum_derive", -] - -[[package]] -name = "num_enum_derive" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 2.0.48", -] - [[package]] name = "num_threads" version = "0.1.6" @@ -2794,15 +2779,6 @@ version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" -[[package]] -name = "proc-macro-crate" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" -dependencies = [ - "toml_edit", -] - [[package]] name = "proc-macro-error" version = "1.0.4" @@ -3095,7 +3071,6 @@ checksum = "f713147fbe92361e52392c73b8c9e48c04c6625bce969ef54dc901e58e042a7b" dependencies = [ "base64 0.22.1", "bytes", - "futures-channel", "futures-core", "futures-util", "http 1.1.0", @@ -3574,6 +3549,12 @@ dependencies = [ "rand_core", ] +[[package]] +name = "simd-adler32" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" + [[package]] name = "slab" version = "0.4.9" @@ -3955,23 +3936,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "toml_datetime" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" - -[[package]] -name = "toml_edit" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" -dependencies = [ - "indexmap 2.2.2", - "toml_datetime", - "winnow", -] - [[package]] name = "tower" version = "0.4.13" @@ -4250,7 +4214,7 @@ dependencies = [ "ulid", "unleash-types", "unleash-yggdrasil", - "utoipa", + "utoipa 4.2.3", "utoipa-swagger-ui", ] @@ -4265,7 +4229,7 @@ dependencies = [ "derive_builder", "serde", "serde_json", - "utoipa", + "utoipa 4.2.3", "xxhash-rust", ] @@ -4330,7 +4294,19 @@ dependencies = [ "indexmap 2.2.2", "serde", "serde_json", - "utoipa-gen", + "utoipa-gen 4.3.0", +] + +[[package]] +name = "utoipa" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e2b34fc58a72021914a5745832024b2baa638fe771df5a35f3d1b69266bd92c" +dependencies = [ + "indexmap 2.2.2", + "serde", + "serde_json", + "utoipa-gen 5.0.0", ] [[package]] @@ -4346,21 +4322,31 @@ dependencies = [ "syn 2.0.48", ] +[[package]] +name = "utoipa-gen" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "866f11b33be38a747542f435578a164674b8922d958cc065d7f19319c19d4784" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.48", +] + [[package]] name = "utoipa-swagger-ui" -version = "7.1.0" +version = "8.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "943e0ff606c6d57d410fd5663a4d7c074ab2c5f14ab903b9514565e59fa1189e" +checksum = "f0800ca865caaff4484adca065a77927a801bd9c48879f0451ec08846eb6a12b" dependencies = [ "actix-web", "mime_guess", "regex", - "reqwest", "rust-embed", "serde", "serde_json", "url", - "utoipa", + "utoipa 5.0.0", "zip", ] @@ -4732,15 +4718,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" -[[package]] -name = "winnow" -version = "0.5.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" -dependencies = [ - "memchr", -] - [[package]] name = "xattr" version = "1.3.1" @@ -4792,9 +4769,9 @@ checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" [[package]] name = "zip" -version = "1.2.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "006d078b7b6fc587bb25e022ad39e7086f44e5c4fef6076964ea601533241beb" +checksum = "1dd56a4d5921bc2f99947ac5b3abe5f510b1be7376fdc5e9fce4a23c6a93e87c" dependencies = [ "arbitrary", "crc32fast", @@ -4802,8 +4779,23 @@ dependencies = [ "displaydoc", "flate2", "indexmap 2.2.2", - "num_enum", + "memchr", "thiserror", + "zopfli", +] + +[[package]] +name = "zopfli" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946" +dependencies = [ + "bumpalo", + "crc32fast", + "lockfree-object-pool", + "log", + "once_cell", + "simd-adler32", ] [[package]] diff --git a/server/Cargo.toml b/server/Cargo.toml index 8af445f9..d8329f11 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -91,7 +91,7 @@ ulid = "1.1.2" unleash-types = { version = "0.13", features = ["openapi", "hashes"] } unleash-yggdrasil = { version = "0.13.2" } utoipa = { version = "4.2.3", features = ["actix_extras", "chrono"] } -utoipa-swagger-ui = { version = "7.1.0", features = ["actix-web"] } +utoipa-swagger-ui = { version = "8.0.0", features = ["actix-web"] } [dev-dependencies] actix-http = "3.9.0" actix-http-test = "3.2.0"