From 0ebd8bebe3eee0e07ae0a752a7d125fadcb01cc6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 28 Jun 2026 01:16:14 +0000 Subject: [PATCH] chore(deps): bump tough from 0.22.0 to 0.23.0 Bumps [tough](https://github.com/awslabs/tough) from 0.22.0 to 0.23.0. - [Release notes](https://github.com/awslabs/tough/releases) - [Commits](https://github.com/awslabs/tough/compare/tough-v0.22.0...tough-v0.23.0) --- updated-dependencies: - dependency-name: tough dependency-version: 0.23.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 139 ++++++++++++++++-- Cargo.toml | 2 +- crates/registry-notary-server/Cargo.toml | 2 +- .../Cargo.toml | 2 +- crates/registry-notary/Cargo.toml | 2 +- crates/registry-relay/Cargo.toml | 2 +- 6 files changed, 130 insertions(+), 19 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cb3b277e..b7b31eaf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -712,6 +712,12 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + [[package]] name = "bitflags" version = "2.13.0" @@ -1432,7 +1438,7 @@ version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff765b99fc49f3116c9a908484486a2b92fd73c48da45c3a69716471c6cc56c6" dependencies = [ - "bitflags", + "bitflags 2.13.0", "cryptoki-sys", "libloading", "log", @@ -2247,6 +2253,38 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7eed2c4702fa172d1ce21078faa7c5203e69f5394d48cc436d25928394a867a2" +[[package]] +name = "defmt" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6e524506490a1953d237cb87b1cfc1e46f88c18f10a22dfe0f507dc6bfc7f7f" +dependencies = [ + "bitflags 1.3.2", + "defmt-macros", +] + +[[package]] +name = "defmt-macros" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0a27770e9c8f719a79d8b638281f4d828f77d8fd61e0bd94451b9b85e576a0b" +dependencies = [ + "defmt-parser", + "proc-macro-error2", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "defmt-parser" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e" +dependencies = [ + "thiserror 2.0.18", +] + [[package]] name = "der" version = "0.7.10" @@ -2590,7 +2628,7 @@ version = "25.12.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "35f6839d7b3b98adde531effaf34f0c2badc6f4735d26fe74709d8e513a96ef3" dependencies = [ - "bitflags", + "bitflags 2.13.0", "rustc_version", ] @@ -3560,6 +3598,48 @@ version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" +[[package]] +name = "jiff" +version = "0.2.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34f877a98676d2fb664698d74cc6a51ce6c484ce8c770f05d0108ec9090aeb46" +dependencies = [ + "defmt", + "jiff-static", + "jiff-tzdb-platform", + "log", + "portable-atomic", + "portable-atomic-util", + "serde_core", + "windows-link", +] + +[[package]] +name = "jiff-static" +version = "0.2.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0666b5ab5ecaca213fc2a85b8c0083d9004e84ee2d5f9a7e0017aaf50986f25f" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "jiff-tzdb" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c900ef84826f1338a557697dc8fc601df9ca9af4ac137c7fb61d4c6f2dfd3076" + +[[package]] +name = "jiff-tzdb-platform" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "875a5a69ac2bab1a891711cf5eccbec1ce0341ea805560dcd90b7a2e925132e8" +dependencies = [ + "jiff-tzdb", +] + [[package]] name = "jobserver" version = "0.1.34" @@ -4088,7 +4168,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" dependencies = [ - "bitflags", + "bitflags 2.13.0", ] [[package]] @@ -4195,7 +4275,7 @@ version = "0.10.81" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77823a27f0babb03091cb9ed9ef80af3b39dbc82f97e8fa530374b7dafd87a45" dependencies = [ - "bitflags", + "bitflags 2.13.0", "cfg-if", "foreign-types", "libc", @@ -4620,6 +4700,15 @@ version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" +[[package]] +name = "portable-atomic-util" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a106d1259c23fac8e543272398ae0e3c0b8d33c88ed73d0cc71b0f1d902618" +dependencies = [ + "portable-atomic", +] + [[package]] name = "postcard" version = "1.1.3" @@ -4718,6 +4807,28 @@ dependencies = [ "elliptic-curve", ] +[[package]] +name = "proc-macro-error-attr2" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "proc-macro-error2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" +dependencies = [ + "proc-macro-error-attr2", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "proc-macro2" version = "1.0.106" @@ -4735,7 +4846,7 @@ checksum = "4b45fcc2344c680f5025fe57779faef368840d0bd1f42f216291f0dc4ace4744" dependencies = [ "bit-set 0.8.0", "bit-vec 0.8.0", - "bitflags", + "bitflags 2.13.0", "num-traits", "rand 0.9.4", "rand_chacha", @@ -5008,7 +5119,7 @@ version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" dependencies = [ - "bitflags", + "bitflags 2.13.0", ] [[package]] @@ -5736,7 +5847,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd4dd0f8c36625202a4ba553c416c19b719947cd2a31d1bda06126e4a5727daf" dependencies = [ "ahash", - "bitflags", + "bitflags 2.13.0", "no-std-compat", "num-traits", "once_cell", @@ -5876,7 +5987,7 @@ version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" dependencies = [ - "bitflags", + "bitflags 2.13.0", "errno", "libc", "linux-raw-sys", @@ -6028,7 +6139,7 @@ version = "3.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" dependencies = [ - "bitflags", + "bitflags 2.13.0", "core-foundation", "core-foundation-sys", "libc", @@ -6856,20 +6967,20 @@ checksum = "756daf9b1013ebe47a8776667b466417e2d4c5679d441c26230efd9ef78692db" [[package]] name = "tough" -version = "0.22.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8031cff0872dd1c6312370515a6be8098f6ea5512f1bad725016046fc725f272" +checksum = "c36f56d1542edfdb79e126fbe0f56198fbc010631bd54032a39c1c88a63b08c6" dependencies = [ "async-recursion", "async-trait", "aws-lc-rs", "bytes", - "chrono", "dyn-clone", "futures", "futures-core", "globset", "hex", + "jiff", "log", "olpc-cjson", "pem", @@ -6910,7 +7021,7 @@ version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" dependencies = [ - "bitflags", + "bitflags 2.13.0", "bytes", "futures-util", "http", @@ -6928,7 +7039,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b11f75e912b0c2be01b63d8cf8057b8c3f97cf34abb3d431a3a4c8675498e233" dependencies = [ - "bitflags", + "bitflags 2.13.0", "bytes", "http", "http-body", diff --git a/Cargo.toml b/Cargo.toml index c06b7a12..96033f70 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -133,7 +133,7 @@ tokio = { version = "1", features = ["fs", "macros", "net", "rt", "rt-multi-thre tokio-postgres = { version = "0.7.18", features = ["with-time-0_3"] } tokio-util = { version = "0.7" } toml = { version = "1.1" } -tough = { version = "0.22.0" } +tough = { version = "0.23.0" } tower = { version = "0.5" } tower-http = { version = "0.7", features = ["cors", "limit", "request-id", "set-header", "timeout", "trace"] } tracing = { version = "0.1" } diff --git a/crates/registry-notary-server/Cargo.toml b/crates/registry-notary-server/Cargo.toml index 258ab206..642f501d 100644 --- a/crates/registry-notary-server/Cargo.toml +++ b/crates/registry-notary-server/Cargo.toml @@ -62,7 +62,7 @@ registry-platform-testing = { workspace = true, features = ["test-utils"] } registry-notary-source-adapter-sidecar = { workspace = true } jsonschema.workspace = true tempfile = { version = "3" } -tough = { version = "0.22.0" } +tough = { version = "0.23.0" } wiremock = { version = "0.6" } # Criterion drives the microbenchmarks under `benches/`. The benches are # manually invoked via `cargo bench`; CI smoke-checks `cargo bench --no-run`. diff --git a/crates/registry-notary-source-adapter-sidecar/Cargo.toml b/crates/registry-notary-source-adapter-sidecar/Cargo.toml index b9ea097b..75dd2186 100644 --- a/crates/registry-notary-source-adapter-sidecar/Cargo.toml +++ b/crates/registry-notary-source-adapter-sidecar/Cargo.toml @@ -27,7 +27,7 @@ registry-platform-config.workspace = true registry-platform-ops.workspace = true thiserror.workspace = true tokio = { workspace = true, features = ["io-util", "process"] } -tough = { version = "0.22.0" } +tough = { version = "0.23.0" } tower.workspace = true tower-http.workspace = true tracing.workspace = true diff --git a/crates/registry-notary/Cargo.toml b/crates/registry-notary/Cargo.toml index 41ef28f9..c4feedcc 100644 --- a/crates/registry-notary/Cargo.toml +++ b/crates/registry-notary/Cargo.toml @@ -49,5 +49,5 @@ chrono = { version = "0.4" } jsonschema.workspace = true registry-platform-ops.workspace = true tempfile = { version = "3" } -tough = { version = "0.22.0" } +tough = { version = "0.23.0" } wiremock = { version = "0.6" } diff --git a/crates/registry-relay/Cargo.toml b/crates/registry-relay/Cargo.toml index 818e1560..380a4eee 100644 --- a/crates/registry-relay/Cargo.toml +++ b/crates/registry-relay/Cargo.toml @@ -155,7 +155,7 @@ ed25519-dalek = { version = "2", features = ["pkcs8", "rand_core"] } rand_core = { version = "0.6", features = ["std"] } # Parses `resources/MANIFEST.toml` in the resource pinning test. toml = { version = "1.1" } -tough = { version = "0.22.0" } +tough = { version = "0.23.0" } wiremock = { version = "0.6" } # Criterion drives the microbenchmarks under `benches/`. The benches are # manually invoked via `cargo bench`; CI only smoke-checks `cargo bench --no-run`.