From 050557949770d6496c4713025eec1c9a04ccfed1 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 21 Jun 2023 09:12:36 -0400 Subject: [PATCH] Upgrade to strum 0.25. --- Cargo.lock | 10 +++++----- crates/arti-client/Cargo.toml | 2 +- crates/tor-config/Cargo.toml | 2 +- crates/tor-dirmgr/Cargo.toml | 2 +- crates/tor-error/Cargo.toml | 2 +- crates/tor-guardmgr/Cargo.toml | 2 +- crates/tor-hsclient/Cargo.toml | 2 +- crates/tor-linkspec/Cargo.toml | 2 +- crates/tor-netdir/Cargo.toml | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6330fcaa2..a9eacc7c8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3663,24 +3663,24 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "strum" -version = "0.24.1" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" +checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" dependencies = [ "strum_macros", ] [[package]] name = "strum_macros" -version = "0.24.3" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" +checksum = "fe9f3bd7d2e45dcc5e265fbb88d6513e4747d8ef9444cf01a533119bce28a157" dependencies = [ "heck", "proc-macro2", "quote", "rustversion", - "syn 1.0.109", + "syn 2.0.18", ] [[package]] diff --git a/crates/arti-client/Cargo.toml b/crates/arti-client/Cargo.toml index 78a1f16dc..2bfbb2f52 100644 --- a/crates/arti-client/Cargo.toml +++ b/crates/arti-client/Cargo.toml @@ -143,7 +143,7 @@ void = "1" anyhow = "1.0.23" once_cell = "1.9" pin-project = "1" -strum = { version = "0.24", features = ["derive"] } +strum = { version = "0.25", features = ["derive"] } tempfile = "3.3" tokio-crate = { package = "tokio", version = "1.7", features = [ "rt", diff --git a/crates/tor-config/Cargo.toml b/crates/tor-config/Cargo.toml index 2654d9e74..1d5c3ed65 100644 --- a/crates/tor-config/Cargo.toml +++ b/crates/tor-config/Cargo.toml @@ -32,7 +32,7 @@ regex = { version = "1", default-features = false, features = ["std"] } serde = { version = "1.0.103", features = ["derive"] } serde_ignored = "0.1.3" shellexpand = { version = "3.0", optional = true } -strum = { version = "0.24", features = ["derive"] } +strum = { version = "0.25", features = ["derive"] } thiserror = "1" toml = "0.7.2" tor-basic-utils = { path = "../tor-basic-utils", version = "0.7.1" } diff --git a/crates/tor-dirmgr/Cargo.toml b/crates/tor-dirmgr/Cargo.toml index b07765d4f..d2e027f9a 100644 --- a/crates/tor-dirmgr/Cargo.toml +++ b/crates/tor-dirmgr/Cargo.toml @@ -79,7 +79,7 @@ safelog = { path = "../safelog", version = "0.3.1" } scopeguard = "1" serde = { version = "1.0.103", features = ["derive"] } signature = "1" -strum = { version = "0.24", features = ["derive"] } +strum = { version = "0.25", features = ["derive"] } thiserror = "1" time = { version = "0.3", features = ["formatting", "parsing"] } tor-basic-utils = { path = "../tor-basic-utils", version = "0.7.1" } diff --git a/crates/tor-error/Cargo.toml b/crates/tor-error/Cargo.toml index e7ada4149..d60e7fbd8 100644 --- a/crates/tor-error/Cargo.toml +++ b/crates/tor-error/Cargo.toml @@ -27,7 +27,7 @@ backtrace = { version = "0.3.39", optional = true } derive_more = "0.99.3" futures = "0.3" once_cell = "1" -strum = { version = "0.24", features = ["derive"] } +strum = { version = "0.25", features = ["derive"] } thiserror = "1" [dev-dependencies] diff --git a/crates/tor-guardmgr/Cargo.toml b/crates/tor-guardmgr/Cargo.toml index a3074c085..317a04576 100644 --- a/crates/tor-guardmgr/Cargo.toml +++ b/crates/tor-guardmgr/Cargo.toml @@ -62,7 +62,7 @@ rand = "0.8" retain_mut = "0.1.3" safelog = { path = "../safelog", version = "0.3.1" } serde = { version = "1.0.103", features = ["derive"] } -strum = { version = "0.24", features = ["derive"] } +strum = { version = "0.25", features = ["derive"] } thiserror = "1" tor-basic-utils = { path = "../tor-basic-utils", version = "0.7.1" } tor-config = { path = "../tor-config", version = "0.9.1" } diff --git a/crates/tor-hsclient/Cargo.toml b/crates/tor-hsclient/Cargo.toml index 018deb2d8..0f305065e 100644 --- a/crates/tor-hsclient/Cargo.toml +++ b/crates/tor-hsclient/Cargo.toml @@ -43,7 +43,7 @@ rand_core = "0.6.2" retry-error = { path = "../retry-error", version = "0.4.1" } safelog = { path = "../safelog", version = "0.3.1" } slotmap = "1.0.6" -strum = { version = "0.24", features = ["derive"] } +strum = { version = "0.25", features = ["derive"] } thiserror = "1" tor-bytes = { path = "../tor-bytes", version = "0.7.1" } tor-cell = { path = "../tor-cell", version = "0.11.0", features = ["hs"] } diff --git a/crates/tor-linkspec/Cargo.toml b/crates/tor-linkspec/Cargo.toml index 451e0cd2a..2aa47379d 100644 --- a/crates/tor-linkspec/Cargo.toml +++ b/crates/tor-linkspec/Cargo.toml @@ -42,7 +42,7 @@ itertools = "0.10.1" safelog = { path = "../safelog", version = "0.3.1" } serde = { version = "1.0.103", features = ["derive"] } serde_with = "3.0.0" -strum = { version = "0.24", features = ["derive"] } +strum = { version = "0.25", features = ["derive"] } thiserror = "1" tor-basic-utils = { path = "../tor-basic-utils", version = "0.7.1" } tor-bytes = { path = "../tor-bytes", version = "0.7.1" } diff --git a/crates/tor-netdir/Cargo.toml b/crates/tor-netdir/Cargo.toml index a9f372774..cd432046e 100644 --- a/crates/tor-netdir/Cargo.toml +++ b/crates/tor-netdir/Cargo.toml @@ -57,7 +57,7 @@ rand = "0.8" serde = { version = "1.0.103", features = ["derive"] } signature = "1" static_assertions = "1" -strum = { version = "0.24", features = ["derive"] } +strum = { version = "0.25", features = ["derive"] } thiserror = "1" time = { version = "0.3.17", features = ["macros"], optional = true } tor-basic-utils = { path = "../tor-basic-utils", version = "0.7.1" }