From 3ed80b20e9f3287acfcf9a45457fcecf6621099a Mon Sep 17 00:00:00 2001 From: Jeremy Fitzhardinge Date: Wed, 8 May 2024 00:44:26 -0700 Subject: [PATCH] third-party/rust: update strum to 0.26 Summary: Also add to no-std universe Codemod EnumVariantNames -> VariantNames Reviewed By: dtolnay Differential Revision: D57085098 fbshipit-source-id: ead1511915a0fd3c145f23e30deb3268866185f5 --- Cargo.lock | 10 +++++----- Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1508b066..4d927b6f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1219,24 +1219,24 @@ checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" [[package]] name = "strum" -version = "0.24.1" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" +checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" dependencies = [ "strum_macros", ] [[package]] name = "strum_macros" -version = "0.24.3" +version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" +checksum = "7a3417fc93d76740d974a01654a09777cb500428cc874ca9f45edfe0c4d4cd18" dependencies = [ "heck 0.4.1", "proc-macro2", "quote", "rustversion", - "syn 1.0.109", + "syn 2.0.60", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 1743bd22..221d0a77 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ semver = { version = "1.0.17", features = ["serde"] } serde = { version = "1.0.185", features = ["derive", "rc"] } serde_json = { version = "1.0.100", features = ["float_roundtrip", "unbounded_depth"] } serde_starlark = "0.1.13" -strum = { version = "0.24", features = ["derive"] } +strum = { version = "0.26.2", features = ["derive"] } syn = { version = "2.0.38", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } termcolor = "1.0" toml = "0.8.4"