From 7fc1aa59e6468a1f183340f135ebb53adfaa082b Mon Sep 17 00:00:00 2001 From: Thomas Mueller Date: Mon, 20 Jul 2026 17:20:17 +0200 Subject: [PATCH] chore(deps): bump serde_with to 3.21.0 Update serde_with from 1.14.0 to 3.21.0 in the workspace Cargo.toml and the Bazel crate spec, and repin the Cargo/Bazel lock files. This also collapses the previously duplicated transitive serde_with 3.x (pulled in via ic-bn-lib) onto a single 3.21.0, dropping the now-unused 1.x subtree (darling 0.13, strsim 0.10, serde_with_macros 1.5). The APIs in use (serde_as, DisplayFromStr, rust::double_option and serde_with::Bytes) are unchanged across the major bump, so no source changes are required. Co-Authored-By: Claude Opus 4.8 --- Cargo.Bazel.json.lock | 599 ++-------------------------------------- Cargo.Bazel.toml.lock | 127 +-------- Cargo.lock | 126 +++------ Cargo.toml | 2 +- bazel/rust.MODULE.bazel | 2 +- 5 files changed, 74 insertions(+), 782 deletions(-) diff --git a/Cargo.Bazel.json.lock b/Cargo.Bazel.json.lock index 7ded22914581..655057e8750c 100644 --- a/Cargo.Bazel.json.lock +++ b/Cargo.Bazel.json.lock @@ -1,5 +1,5 @@ { - "checksum": "1f1282b2d826a19f5348514e87e1bde8f79b2482a6d7e56dcfd31dbaa38ab8f0", + "checksum": "3cb688e553e7acd4cd7e101f7542c4610fc82d71509193f63e325613c3c17a5e", "crates": { "actix-codec 0.5.1": { "name": "actix-codec", @@ -7770,7 +7770,7 @@ "deps": { "common": [ { - "id": "bs58 0.5.0", + "id": "bs58 0.5.1", "target": "bs58" }, { @@ -9478,14 +9478,14 @@ ], "license_file": "LICENSE" }, - "bs58 0.5.0": { + "bs58 0.5.1": { "name": "bs58", - "version": "0.5.0", + "version": "0.5.1", "package_url": "https://github.com/Nullus157/bs58-rs", "repository": { "Http": { - "url": "https://static.crates.io/crates/bs58/0.5.0/download", - "sha256": "f5353f36341f7451062466f0b755b96ac3a9547e4d7f6b70d603fc721a7d7896" + "url": "https://static.crates.io/crates/bs58/0.5.1/download", + "sha256": "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" } }, "targets": [ @@ -9527,7 +9527,7 @@ "selects": {} }, "edition": "2021", - "version": "0.5.0" + "version": "0.5.1" }, "license": "MIT/Apache-2.0", "license_ids": [ @@ -18148,69 +18148,6 @@ ], "license_file": "LICENSE" }, - "darling 0.13.4": { - "name": "darling", - "version": "0.13.4", - "package_url": "https://github.com/TedDriggs/darling", - "repository": { - "Http": { - "url": "https://static.crates.io/crates/darling/0.13.4/download", - "sha256": "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c" - } - }, - "targets": [ - { - "Library": { - "crate_name": "darling", - "crate_root": "src/lib.rs", - "srcs": { - "allow_empty": true, - "include": [ - "**/*.rs" - ] - } - } - } - ], - "library_target_name": "darling", - "common_attrs": { - "compile_data_glob": [ - "**" - ], - "crate_features": { - "common": [ - "default", - "suggestions" - ], - "selects": {} - }, - "deps": { - "common": [ - { - "id": "darling_core 0.13.4", - "target": "darling_core" - } - ], - "selects": {} - }, - "edition": "2018", - "proc_macro_deps": { - "common": [ - { - "id": "darling_macro 0.13.4", - "target": "darling_macro" - } - ], - "selects": {} - }, - "version": "0.13.4" - }, - "license": "MIT", - "license_ids": [ - "MIT" - ], - "license_file": "LICENSE" - }, "darling 0.20.11": { "name": "darling", "version": "0.20.11", @@ -18274,69 +18211,6 @@ ], "license_file": "LICENSE" }, - "darling 0.21.3": { - "name": "darling", - "version": "0.21.3", - "package_url": "https://github.com/TedDriggs/darling", - "repository": { - "Http": { - "url": "https://static.crates.io/crates/darling/0.21.3/download", - "sha256": "9cdf337090841a411e2a7f3deb9187445851f91b309c0c0a29e05f74a00a48c0" - } - }, - "targets": [ - { - "Library": { - "crate_name": "darling", - "crate_root": "src/lib.rs", - "srcs": { - "allow_empty": true, - "include": [ - "**/*.rs" - ] - } - } - } - ], - "library_target_name": "darling", - "common_attrs": { - "compile_data_glob": [ - "**" - ], - "crate_features": { - "common": [ - "default", - "suggestions" - ], - "selects": {} - }, - "deps": { - "common": [ - { - "id": "darling_core 0.21.3", - "target": "darling_core" - } - ], - "selects": {} - }, - "edition": "2021", - "proc_macro_deps": { - "common": [ - { - "id": "darling_macro 0.21.3", - "target": "darling_macro" - } - ], - "selects": {} - }, - "version": "0.21.3" - }, - "license": "MIT", - "license_ids": [ - "MIT" - ], - "license_file": "LICENSE" - }, "darling 0.23.0": { "name": "darling", "version": "0.23.0", @@ -18400,80 +18274,6 @@ ], "license_file": "LICENSE" }, - "darling_core 0.13.4": { - "name": "darling_core", - "version": "0.13.4", - "package_url": "https://github.com/TedDriggs/darling", - "repository": { - "Http": { - "url": "https://static.crates.io/crates/darling_core/0.13.4/download", - "sha256": "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" - } - }, - "targets": [ - { - "Library": { - "crate_name": "darling_core", - "crate_root": "src/lib.rs", - "srcs": { - "allow_empty": true, - "include": [ - "**/*.rs" - ] - } - } - } - ], - "library_target_name": "darling_core", - "common_attrs": { - "compile_data_glob": [ - "**" - ], - "crate_features": { - "common": [ - "strsim", - "suggestions" - ], - "selects": {} - }, - "deps": { - "common": [ - { - "id": "fnv 1.0.7", - "target": "fnv" - }, - { - "id": "ident_case 1.0.1", - "target": "ident_case" - }, - { - "id": "proc-macro2 1.0.106", - "target": "proc_macro2" - }, - { - "id": "quote 1.0.42", - "target": "quote" - }, - { - "id": "strsim 0.10.0", - "target": "strsim" - }, - { - "id": "syn 1.0.109", - "target": "syn" - } - ], - "selects": {} - }, - "edition": "2018", - "version": "0.13.4" - }, - "license": "MIT", - "license_ids": [ - "MIT" - ], - "license_file": "LICENSE" - }, "darling_core 0.20.11": { "name": "darling_core", "version": "0.20.11", @@ -18548,80 +18348,6 @@ ], "license_file": "LICENSE" }, - "darling_core 0.21.3": { - "name": "darling_core", - "version": "0.21.3", - "package_url": "https://github.com/TedDriggs/darling", - "repository": { - "Http": { - "url": "https://static.crates.io/crates/darling_core/0.21.3/download", - "sha256": "1247195ecd7e3c85f83c8d2a366e4210d588e802133e1e355180a9870b517ea4" - } - }, - "targets": [ - { - "Library": { - "crate_name": "darling_core", - "crate_root": "src/lib.rs", - "srcs": { - "allow_empty": true, - "include": [ - "**/*.rs" - ] - } - } - } - ], - "library_target_name": "darling_core", - "common_attrs": { - "compile_data_glob": [ - "**" - ], - "crate_features": { - "common": [ - "strsim", - "suggestions" - ], - "selects": {} - }, - "deps": { - "common": [ - { - "id": "fnv 1.0.7", - "target": "fnv" - }, - { - "id": "ident_case 1.0.1", - "target": "ident_case" - }, - { - "id": "proc-macro2 1.0.106", - "target": "proc_macro2" - }, - { - "id": "quote 1.0.42", - "target": "quote" - }, - { - "id": "strsim 0.11.1", - "target": "strsim" - }, - { - "id": "syn 2.0.110", - "target": "syn" - } - ], - "selects": {} - }, - "edition": "2021", - "version": "0.21.3" - }, - "license": "MIT", - "license_ids": [ - "MIT" - ], - "license_file": "LICENSE" - }, "darling_core 0.23.0": { "name": "darling_core", "version": "0.23.0", @@ -18692,61 +18418,6 @@ ], "license_file": "LICENSE" }, - "darling_macro 0.13.4": { - "name": "darling_macro", - "version": "0.13.4", - "package_url": "https://github.com/TedDriggs/darling", - "repository": { - "Http": { - "url": "https://static.crates.io/crates/darling_macro/0.13.4/download", - "sha256": "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" - } - }, - "targets": [ - { - "ProcMacro": { - "crate_name": "darling_macro", - "crate_root": "src/lib.rs", - "srcs": { - "allow_empty": true, - "include": [ - "**/*.rs" - ] - } - } - } - ], - "library_target_name": "darling_macro", - "common_attrs": { - "compile_data_glob": [ - "**" - ], - "deps": { - "common": [ - { - "id": "darling_core 0.13.4", - "target": "darling_core" - }, - { - "id": "quote 1.0.42", - "target": "quote" - }, - { - "id": "syn 1.0.109", - "target": "syn" - } - ], - "selects": {} - }, - "edition": "2018", - "version": "0.13.4" - }, - "license": "MIT", - "license_ids": [ - "MIT" - ], - "license_file": "LICENSE" - }, "darling_macro 0.20.11": { "name": "darling_macro", "version": "0.20.11", @@ -18802,61 +18473,6 @@ ], "license_file": "LICENSE" }, - "darling_macro 0.21.3": { - "name": "darling_macro", - "version": "0.21.3", - "package_url": "https://github.com/TedDriggs/darling", - "repository": { - "Http": { - "url": "https://static.crates.io/crates/darling_macro/0.21.3/download", - "sha256": "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81" - } - }, - "targets": [ - { - "ProcMacro": { - "crate_name": "darling_macro", - "crate_root": "src/lib.rs", - "srcs": { - "allow_empty": true, - "include": [ - "**/*.rs" - ] - } - } - } - ], - "library_target_name": "darling_macro", - "common_attrs": { - "compile_data_glob": [ - "**" - ], - "deps": { - "common": [ - { - "id": "darling_core 0.21.3", - "target": "darling_core" - }, - { - "id": "quote 1.0.42", - "target": "quote" - }, - { - "id": "syn 2.0.110", - "target": "syn" - } - ], - "selects": {} - }, - "edition": "2021", - "version": "0.21.3" - }, - "license": "MIT", - "license_ids": [ - "MIT" - ], - "license_file": "LICENSE" - }, "darling_macro 0.23.0": { "name": "darling_macro", "version": "0.23.0", @@ -21060,7 +20676,7 @@ "alias": "bitcoin_dogecoin" }, { - "id": "bs58 0.5.0", + "id": "bs58 0.5.1", "target": "bs58" }, { @@ -22030,7 +21646,7 @@ "target": "serde_regex" }, { - "id": "serde_with 1.14.0", + "id": "serde_with 3.21.0", "target": "serde_with" }, { @@ -34590,7 +34206,7 @@ "target": "serde_json" }, { - "id": "serde_with 3.16.0", + "id": "serde_with 3.21.0", "target": "serde_with" }, { @@ -50417,8 +50033,6 @@ "default", "ioctl", "memoffset", - "process", - "signal", "socket" ], "selects": {} @@ -58426,7 +58040,7 @@ "target": "log" }, { - "id": "nix 0.27.1", + "id": "nix 0.30.1", "target": "nix" }, { @@ -72287,79 +71901,14 @@ ], "license_file": "LICENSE-APACHE" }, - "serde_with 1.14.0": { + "serde_with 3.21.0": { "name": "serde_with", - "version": "1.14.0", - "package_url": "https://github.com/jonasbb/serde_with", - "repository": { - "Http": { - "url": "https://static.crates.io/crates/serde_with/1.14.0/download", - "sha256": "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff" - } - }, - "targets": [ - { - "Library": { - "crate_name": "serde_with", - "crate_root": "src/lib.rs", - "srcs": { - "allow_empty": true, - "include": [ - "**/*.rs" - ] - } - } - } - ], - "library_target_name": "serde_with", - "common_attrs": { - "compile_data_glob": [ - "**" - ], - "crate_features": { - "common": [ - "default", - "macros", - "serde_with_macros" - ], - "selects": {} - }, - "deps": { - "common": [ - { - "id": "serde 1.0.228", - "target": "serde" - } - ], - "selects": {} - }, - "edition": "2018", - "proc_macro_deps": { - "common": [ - { - "id": "serde_with_macros 1.5.2", - "target": "serde_with_macros" - } - ], - "selects": {} - }, - "version": "1.14.0" - }, - "license": "MIT OR Apache-2.0", - "license_ids": [ - "Apache-2.0", - "MIT" - ], - "license_file": "LICENSE-APACHE" - }, - "serde_with 3.16.0": { - "name": "serde_with", - "version": "3.16.0", + "version": "3.21.0", "package_url": "https://github.com/jonasbb/serde_with/", "repository": { "Http": { - "url": "https://static.crates.io/crates/serde_with/3.16.0/download", - "sha256": "10574371d41b0d9b2cff89418eda27da52bcaff2cc8741db26382a77c29131f1" + "url": "https://static.crates.io/crates/serde_with/3.21.0/download", + "sha256": "76a5c54c7310e7b8b9577c286d7e399ddd876c3e12b3ed917a8aabc4b96e9e8c" } }, "targets": [ @@ -72403,13 +71952,13 @@ "proc_macro_deps": { "common": [ { - "id": "serde_with_macros 3.16.0", + "id": "serde_with_macros 3.21.0", "target": "serde_with_macros" } ], "selects": {} }, - "version": "3.16.0" + "version": "3.21.0" }, "license": "MIT OR Apache-2.0", "license_ids": [ @@ -72418,14 +71967,14 @@ ], "license_file": "LICENSE-APACHE" }, - "serde_with_macros 1.5.2": { + "serde_with_macros 3.21.0": { "name": "serde_with_macros", - "version": "1.5.2", + "version": "3.21.0", "package_url": "https://github.com/jonasbb/serde_with/", "repository": { "Http": { - "url": "https://static.crates.io/crates/serde_with_macros/1.5.2/download", - "sha256": "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" + "url": "https://static.crates.io/crates/serde_with_macros/3.21.0/download", + "sha256": "84d57bc0c8b9a17920c178daa6bb924850d54a9c97ab45194bb8c17ad66bb660" } }, "targets": [ @@ -72450,67 +71999,7 @@ "deps": { "common": [ { - "id": "darling 0.13.4", - "target": "darling" - }, - { - "id": "proc-macro2 1.0.106", - "target": "proc_macro2" - }, - { - "id": "quote 1.0.42", - "target": "quote" - }, - { - "id": "syn 1.0.109", - "target": "syn" - } - ], - "selects": {} - }, - "edition": "2018", - "version": "1.5.2" - }, - "license": "MIT OR Apache-2.0", - "license_ids": [ - "Apache-2.0", - "MIT" - ], - "license_file": "LICENSE-APACHE" - }, - "serde_with_macros 3.16.0": { - "name": "serde_with_macros", - "version": "3.16.0", - "package_url": "https://github.com/jonasbb/serde_with/", - "repository": { - "Http": { - "url": "https://static.crates.io/crates/serde_with_macros/3.16.0/download", - "sha256": "08a72d8216842fdd57820dc78d840bef99248e35fb2554ff923319e60f2d686b" - } - }, - "targets": [ - { - "ProcMacro": { - "crate_name": "serde_with_macros", - "crate_root": "src/lib.rs", - "srcs": { - "allow_empty": true, - "include": [ - "**/*.rs" - ] - } - } - } - ], - "library_target_name": "serde_with_macros", - "common_attrs": { - "compile_data_glob": [ - "**" - ], - "deps": { - "common": [ - { - "id": "darling 0.21.3", + "id": "darling 0.23.0", "target": "darling" }, { @@ -72529,7 +72018,7 @@ "selects": {} }, "edition": "2021", - "version": "3.16.0" + "version": "3.21.0" }, "license": "MIT OR Apache-2.0", "license_ids": [ @@ -76424,44 +75913,6 @@ ], "license_file": "LICENSE-APACHE" }, - "strsim 0.10.0": { - "name": "strsim", - "version": "0.10.0", - "package_url": "https://github.com/dguo/strsim-rs", - "repository": { - "Http": { - "url": "https://static.crates.io/crates/strsim/0.10.0/download", - "sha256": "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - } - }, - "targets": [ - { - "Library": { - "crate_name": "strsim", - "crate_root": "src/lib.rs", - "srcs": { - "allow_empty": true, - "include": [ - "**/*.rs" - ] - } - } - } - ], - "library_target_name": "strsim", - "common_attrs": { - "compile_data_glob": [ - "**" - ], - "edition": "2015", - "version": "0.10.0" - }, - "license": "MIT", - "license_ids": [ - "MIT" - ], - "license_file": "LICENSE" - }, "strsim 0.11.1": { "name": "strsim", "version": "0.11.1", @@ -98506,7 +97957,7 @@ "bit-vec 0.6.3", "bitcoin 0.28.2", "bitcoin-dogecoin 0.32.7-doge.0", - "bs58 0.5.0", + "bs58 0.5.1", "build-info 0.0.27", "build-info-build 0.0.27", "by_address 1.1.0", @@ -98757,7 +98208,7 @@ "serde_cbor 0.11.2", "serde_json 1.0.145", "serde_regex 1.1.0", - "serde_with 1.14.0", + "serde_with 3.21.0", "serde_yaml 0.9.34+deprecated", "sev 7.1.0", "sha2 0.10.9", diff --git a/Cargo.Bazel.toml.lock b/Cargo.Bazel.toml.lock index b081014f6d7d..23e5269c5bf1 100644 --- a/Cargo.Bazel.toml.lock +++ b/Cargo.Bazel.toml.lock @@ -1621,9 +1621,9 @@ dependencies = [ [[package]] name = "bs58" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5353f36341f7451062466f0b755b96ac3a9547e4d7f6b70d603fc721a7d7896" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" dependencies = [ "sha2 0.10.9", "tinyvec", @@ -2251,7 +2251,7 @@ dependencies = [ "anstream", "anstyle", "clap_lex", - "strsim 0.11.1", + "strsim", ] [[package]] @@ -3028,16 +3028,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "darling" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c" -dependencies = [ - "darling_core 0.13.4", - "darling_macro 0.13.4", -] - [[package]] name = "darling" version = "0.20.11" @@ -3048,16 +3038,6 @@ dependencies = [ "darling_macro 0.20.11", ] -[[package]] -name = "darling" -version = "0.21.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cdf337090841a411e2a7f3deb9187445851f91b309c0c0a29e05f74a00a48c0" -dependencies = [ - "darling_core 0.21.3", - "darling_macro 0.21.3", -] - [[package]] name = "darling" version = "0.23.0" @@ -3068,20 +3048,6 @@ dependencies = [ "darling_macro 0.23.0", ] -[[package]] -name = "darling_core" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim 0.10.0", - "syn 1.0.109", -] - [[package]] name = "darling_core" version = "0.20.11" @@ -3092,21 +3058,7 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "strsim 0.11.1", - "syn 2.0.110", -] - -[[package]] -name = "darling_core" -version = "0.21.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1247195ecd7e3c85f83c8d2a366e4210d588e802133e1e355180a9870b517ea4" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim 0.11.1", + "strsim", "syn 2.0.110", ] @@ -3119,21 +3071,10 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "strsim 0.11.1", + "strsim", "syn 2.0.110", ] -[[package]] -name = "darling_macro" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" -dependencies = [ - "darling_core 0.13.4", - "quote", - "syn 1.0.109", -] - [[package]] name = "darling_macro" version = "0.20.11" @@ -3145,17 +3086,6 @@ dependencies = [ "syn 2.0.110", ] -[[package]] -name = "darling_macro" -version = "0.21.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81" -dependencies = [ - "darling_core 0.21.3", - "quote", - "syn 2.0.110", -] - [[package]] name = "darling_macro" version = "0.23.0" @@ -3794,7 +3724,7 @@ dependencies = [ "serde_cbor", "serde_json", "serde_regex", - "serde_with 1.14.0", + "serde_with", "serde_yaml 0.9.34+deprecated", "sev", "sha2 0.10.9", @@ -5955,7 +5885,7 @@ dependencies = [ "scopeguard", "serde", "serde_json", - "serde_with 3.16.0", + "serde_with", "serde_yaml_ng", "sha1 0.11.0", "sha2 0.11.0", @@ -9931,7 +9861,7 @@ dependencies = [ "inferno", "libc", "log", - "nix 0.27.1", + "nix 0.30.1", "once_cell", "prost", "prost-build", @@ -12126,21 +12056,12 @@ dependencies = [ [[package]] name = "serde_with" -version = "1.14.0" +version = "3.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff" -dependencies = [ - "serde", - "serde_with_macros 1.5.2", -] - -[[package]] -name = "serde_with" -version = "3.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10574371d41b0d9b2cff89418eda27da52bcaff2cc8741db26382a77c29131f1" +checksum = "76a5c54c7310e7b8b9577c286d7e399ddd876c3e12b3ed917a8aabc4b96e9e8c" dependencies = [ "base64 0.22.1", + "bs58", "chrono 0.4.42", "hex", "indexmap 1.9.3", @@ -12149,29 +12070,17 @@ dependencies = [ "schemars 1.1.0", "serde_core", "serde_json", - "serde_with_macros 3.16.0", + "serde_with_macros", "time", ] [[package]] name = "serde_with_macros" -version = "1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" -dependencies = [ - "darling 0.13.4", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "serde_with_macros" -version = "3.16.0" +version = "3.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08a72d8216842fdd57820dc78d840bef99248e35fb2554ff923319e60f2d686b" +checksum = "84d57bc0c8b9a17920c178daa6bb924850d54a9c97ab45194bb8c17ad66bb660" dependencies = [ - "darling 0.21.3", + "darling 0.23.0", "proc-macro2", "quote", "syn 2.0.110", @@ -12815,12 +12724,6 @@ dependencies = [ "quote", ] -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - [[package]] name = "strsim" version = "0.11.1" diff --git a/Cargo.lock b/Cargo.lock index fdcdf3812300..9610db020c74 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -426,7 +426,7 @@ version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -437,7 +437,7 @@ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", "once_cell_polyfill", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -1226,7 +1226,7 @@ dependencies = [ "bitflags 2.11.0", "cexpr", "clang-sys", - "itertools 0.10.5", + "itertools 0.12.1", "lazy_static", "lazycell", "proc-macro2", @@ -2270,7 +2270,7 @@ dependencies = [ "anstream 1.0.0", "anstyle", "clap_lex", - "strsim 0.11.1", + "strsim", ] [[package]] @@ -2362,7 +2362,7 @@ version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.61.2", ] [[package]] @@ -2492,7 +2492,7 @@ dependencies = [ "securefmt", "serde", "serde_json", - "serde_with 1.14.0", + "serde_with", "sev_guest", "strum 0.26.3", "tempfile", @@ -2510,7 +2510,7 @@ dependencies = [ "securefmt", "serde", "serde_json", - "serde_with 1.14.0", + "serde_with", "strum 0.26.3", "thiserror 2.0.18", "url", @@ -3365,16 +3365,6 @@ dependencies = [ "wat", ] -[[package]] -name = "darling" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c" -dependencies = [ - "darling_core 0.13.4", - "darling_macro 0.13.4", -] - [[package]] name = "darling" version = "0.20.11" @@ -3395,20 +3385,6 @@ dependencies = [ "darling_macro 0.23.0", ] -[[package]] -name = "darling_core" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim 0.10.0", - "syn 1.0.109", -] - [[package]] name = "darling_core" version = "0.20.11" @@ -3419,7 +3395,7 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "strsim 0.11.1", + "strsim", "syn 2.0.117", ] @@ -3432,21 +3408,10 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "strsim 0.11.1", + "strsim", "syn 2.0.117", ] -[[package]] -name = "darling_macro" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" -dependencies = [ - "darling_core 0.13.4", - "quote", - "syn 1.0.109", -] - [[package]] name = "darling_macro" version = "0.20.11" @@ -3955,7 +3920,7 @@ dependencies = [ "libc", "option-ext", "redox_users 0.5.2", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -4315,7 +4280,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -6574,7 +6539,7 @@ dependencies = [ "scopeguard", "serde", "serde_json", - "serde_with 3.18.0", + "serde_with", "serde_yaml_ng", "sha1 0.11.0", "sha2 0.11.0", @@ -15442,7 +15407,7 @@ dependencies = [ "serde_bytes", "serde_cbor", "serde_json", - "serde_with 1.14.0", + "serde_with", "strum 0.26.3", "strum_macros 0.26.4", "thiserror 2.0.18", @@ -16855,7 +16820,7 @@ checksum = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46" dependencies = [ "hermit-abi 0.5.2", "libc", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -18719,7 +18684,7 @@ version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -20166,7 +20131,7 @@ dependencies = [ "inferno", "libc", "log", - "nix 0.27.1", + "nix 0.30.1", "once_cell", "prost", "prost-build", @@ -21647,7 +21612,7 @@ dependencies = [ "serde", "serde_bytes", "serde_json", - "serde_with 1.14.0", + "serde_with", "tokio", "tower", "tower-http 0.6.8", @@ -21920,7 +21885,7 @@ dependencies = [ "errno 0.3.14", "libc", "linux-raw-sys 0.12.1", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -22029,7 +21994,7 @@ dependencies = [ "security-framework 3.7.0", "security-framework-sys", "webpki-root-certs", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -22050,7 +22015,7 @@ dependencies = [ "security-framework 3.7.0", "security-framework-sys", "webpki-root-certs", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -22625,21 +22590,12 @@ dependencies = [ [[package]] name = "serde_with" -version = "1.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff" -dependencies = [ - "serde", - "serde_with_macros 1.5.2", -] - -[[package]] -name = "serde_with" -version = "3.18.0" +version = "3.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd5414fad8e6907dbdd5bc441a50ae8d6e26151a03b1de04d89a5576de61d01f" +checksum = "76a5c54c7310e7b8b9577c286d7e399ddd876c3e12b3ed917a8aabc4b96e9e8c" dependencies = [ "base64 0.22.1", + "bs58", "chrono", "hex", "indexmap 1.9.3", @@ -22648,27 +22604,15 @@ dependencies = [ "schemars 1.2.1", "serde_core", "serde_json", - "serde_with_macros 3.18.0", + "serde_with_macros", "time", ] [[package]] name = "serde_with_macros" -version = "1.5.2" +version = "3.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" -dependencies = [ - "darling 0.13.4", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "serde_with_macros" -version = "3.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3db8978e608f1fe7357e211969fd9abdcae80bac1ba7a3369bb7eb6b404eb65" +checksum = "84d57bc0c8b9a17920c178daa6bb924850d54a9c97ab45194bb8c17ad66bb660" dependencies = [ "darling 0.23.0", "proc-macro2", @@ -22962,7 +22906,7 @@ version = "1.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" dependencies = [ - "errno 0.2.8", + "errno 0.3.14", "libc", ] @@ -23314,7 +23258,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3a766e1110788c36f4fa1c2b71b387a7815aa65f88ce0229841826633d93723e" dependencies = [ "libc", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -23486,12 +23430,6 @@ dependencies = [ "quote", ] -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - [[package]] name = "strsim" version = "0.11.1" @@ -23876,10 +23814,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.3.4", + "getrandom 0.4.2", "once_cell", "rustix 1.1.4", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -23910,7 +23848,7 @@ version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d8c27177b12a6399ffc08b98f76f7c9a1f4fe9fc967c784c5a071fa8d93cf7e1" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -25935,7 +25873,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.61.2", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index c7fd2f1ca9d4..c232c4e6edd8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -881,7 +881,7 @@ serde_bytes = "0.11.15" serde_cbor = "0.11.2" serde_json = { version = "^1.0.107" } serde_regex = "1.1.0" -serde_with = "1.14.0" +serde_with = "3.21.0" serde_yaml = "0.9.33" sev = { version = "7.1", default-features = false, features = [ "crypto_nossl", diff --git a/bazel/rust.MODULE.bazel b/bazel/rust.MODULE.bazel index 93762ca9bc3c..bc11259303a5 100644 --- a/bazel/rust.MODULE.bazel +++ b/bazel/rust.MODULE.bazel @@ -1536,7 +1536,7 @@ crate.spec( ) crate.spec( package = "serde_with", - version = "^1.14.0", + version = "^3.21.0", ) crate.spec( package = "serde_yaml",