From 53568ad1e99b58d1f939d27df936dacfcde703e8 Mon Sep 17 00:00:00 2001 From: "oxide-renovate[bot]" <146848827+oxide-renovate[bot]@users.noreply.github.com> Date: Tue, 30 Jan 2024 04:08:08 +0000 Subject: [PATCH] Update Rust crate strum to 0.26 --- Cargo.lock | 53 ++++++++++++++++++++++++++++----------- Cargo.toml | 2 +- workspace-hack/Cargo.toml | 2 ++ 3 files changed, 41 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d40d2a58390..929cfa458ce 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -465,7 +465,7 @@ source = "git+https://github.com/oxidecomputer/propolis?rev=ff6c4df2e816eee6e7b2 dependencies = [ "bhyve_api_sys", "libc", - "strum", + "strum 0.25.0", ] [[package]] @@ -474,7 +474,7 @@ version = "0.0.0" source = "git+https://github.com/oxidecomputer/propolis?rev=ff6c4df2e816eee6e7b2b0488777d30ef35ee217#ff6c4df2e816eee6e7b2b0488777d30ef35ee217" dependencies = [ "libc", - "strum", + "strum 0.25.0", ] [[package]] @@ -4252,7 +4252,7 @@ dependencies = [ "serde_json", "sled-agent-client", "steno", - "strum", + "strum 0.26.1", "thiserror", "uuid", ] @@ -4324,7 +4324,7 @@ dependencies = [ "slog", "static_assertions", "steno", - "strum", + "strum 0.26.1", "subprocess", "swrite", "term", @@ -4387,7 +4387,7 @@ dependencies = [ "serde_json", "sled-agent-client", "slog", - "strum", + "strum 0.26.1", "thiserror", "tokio", "uuid", @@ -4476,7 +4476,7 @@ dependencies = [ "serde_json", "sled-agent-client", "steno", - "strum", + "strum 0.26.1", "thiserror", "uuid", ] @@ -4793,7 +4793,7 @@ dependencies = [ "serde_urlencoded", "serde_with", "slog", - "strum", + "strum 0.26.1", "test-strategy", "thiserror", "tokio", @@ -4994,7 +4994,7 @@ dependencies = [ "slog-term", "sp-sim", "steno", - "strum", + "strum 0.26.1", "subprocess", "tempfile", "term", @@ -5047,7 +5047,7 @@ dependencies = [ "sled-agent-client", "slog", "slog-error-chain", - "strum", + "strum 0.26.1", "subprocess", "tabled", "textwrap 0.16.0", @@ -5080,7 +5080,7 @@ dependencies = [ "slog-async", "slog-term", "smf", - "strum", + "strum 0.26.1", "swrite", "tar", "thiserror", @@ -5330,6 +5330,7 @@ dependencies = [ "socket2 0.5.5", "spin 0.9.8", "string_cache", + "strum 0.25.0", "subtle", "syn 1.0.109", "syn 2.0.48", @@ -5600,7 +5601,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "strum", + "strum 0.26.1", "thiserror", "trybuild", "uuid", @@ -5653,7 +5654,7 @@ dependencies = [ "slog-async", "slog-dtrace", "slog-term", - "strum", + "strum 0.26.1", "subprocess", "thiserror", "tokio", @@ -5695,7 +5696,7 @@ dependencies = [ "slog-term", "sqlformat", "sqlparser", - "strum", + "strum 0.26.1", "tabled", "tempfile", "thiserror", @@ -6793,7 +6794,7 @@ dependencies = [ "lru", "paste", "stability", - "strum", + "strum 0.25.0", "unicode-segmentation", "unicode-width", ] @@ -6890,7 +6891,7 @@ dependencies = [ "nu-ansi-term", "serde", "strip-ansi-escapes", - "strum", + "strum 0.25.0", "strum_macros 0.25.2", "thiserror", "unicode-segmentation", @@ -8593,6 +8594,15 @@ dependencies = [ "strum_macros 0.25.2", ] +[[package]] +name = "strum" +version = "0.26.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "723b93e8addf9aa965ebe2d11da6d7540fa2283fcea14b3371ff055f7ba13f5f" +dependencies = [ + "strum_macros 0.26.1", +] + [[package]] name = "strum_macros" version = "0.24.3" @@ -8619,6 +8629,19 @@ dependencies = [ "syn 2.0.48", ] +[[package]] +name = "strum_macros" +version = "0.26.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a3417fc93d76740d974a01654a09777cb500428cc874ca9f45edfe0c4d4cd18" +dependencies = [ + "heck 0.4.1", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.48", +] + [[package]] name = "subprocess" version = "0.2.9" diff --git a/Cargo.toml b/Cargo.toml index e1e4d40736d..752d0633d57 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -365,7 +365,7 @@ static_assertions = "1.1.0" # harder than expected to make breaking changes (even if you specify a specific # SHA). Cut a new Steno release instead. See omicron#2117. steno = "0.4.0" -strum = { version = "0.25", features = [ "derive" ] } +strum = { version = "0.26", features = [ "derive" ] } subprocess = "0.2.9" supports-color = "2.1.0" swrite = "0.1.0" diff --git a/workspace-hack/Cargo.toml b/workspace-hack/Cargo.toml index bf018306300..57c884cccdf 100644 --- a/workspace-hack/Cargo.toml +++ b/workspace-hack/Cargo.toml @@ -99,6 +99,7 @@ slog = { version = "2.7.0", features = ["dynamic-keys", "max_level_trace", "rele socket2 = { version = "0.5.5", default-features = false, features = ["all"] } spin = { version = "0.9.8" } string_cache = { version = "0.8.7" } +strum = { version = "0.25.0", features = ["derive"] } subtle = { version = "2.5.0" } syn-dff4ba8e3ae991db = { package = "syn", version = "1.0.109", features = ["extra-traits", "fold", "full", "visit"] } syn-f595c2ba2a3f28df = { package = "syn", version = "2.0.48", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } @@ -207,6 +208,7 @@ slog = { version = "2.7.0", features = ["dynamic-keys", "max_level_trace", "rele socket2 = { version = "0.5.5", default-features = false, features = ["all"] } spin = { version = "0.9.8" } string_cache = { version = "0.8.7" } +strum = { version = "0.25.0", features = ["derive"] } subtle = { version = "2.5.0" } syn-dff4ba8e3ae991db = { package = "syn", version = "1.0.109", features = ["extra-traits", "fold", "full", "visit"] } syn-f595c2ba2a3f28df = { package = "syn", version = "2.0.48", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] }