diff --git a/Cargo.lock b/Cargo.lock index 825f1bf438b..9e4c5ce2602 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4910,7 +4910,7 @@ dependencies = [ "nym-network-defaults", "rand", "serde", - "strum 0.25.0", + "strum 0.26.3", "thiserror", "time", ] @@ -6186,7 +6186,7 @@ dependencies = [ "serde", "serde_json", "sha2 0.10.8", - "strum 0.25.0", + "strum 0.26.3", "tempfile", "thiserror", "ts-rs", @@ -8576,20 +8576,14 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" -[[package]] -name = "strum" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" -dependencies = [ - "strum_macros 0.25.3", -] - [[package]] name = "strum" version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" +dependencies = [ + "strum_macros 0.26.4", +] [[package]] name = "strum_macros" @@ -8617,19 +8611,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "strum_macros" -version = "0.25.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" -dependencies = [ - "heck 0.4.1", - "proc-macro2", - "quote", - "rustversion", - "syn 2.0.66", -] - [[package]] name = "strum_macros" version = "0.26.4" diff --git a/Cargo.toml b/Cargo.toml index 936b1f07e01..d4b19fd2579 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -288,7 +288,7 @@ sha2 = "0.10.8" si-scale = "0.2.3" sphinx-packet = "0.1.1" sqlx = "0.6.3" -strum = "0.25" +strum = "0.26" subtle-encoding = "0.5" syn = "1" sysinfo = "0.30.12" diff --git a/common/types/src/currency.rs b/common/types/src/currency.rs index 2e32b4288dd..26cda1a2db6 100644 --- a/common/types/src/currency.rs +++ b/common/types/src/currency.rs @@ -9,7 +9,7 @@ use std::cmp::Ordering; use std::collections::HashMap; use std::fmt::{Display, Formatter}; -use strum::{Display, EnumString, EnumVariantNames}; +use strum::{Display, EnumString, VariantNames}; #[cfg(feature = "generate-ts")] use ts_rs::{Dependency, TS}; @@ -28,7 +28,7 @@ use ts_rs::{Dependency, TS}; Clone, Debug, EnumString, - EnumVariantNames, + VariantNames, PartialEq, Eq, JsonSchema, diff --git a/nym-wallet/Cargo.lock b/nym-wallet/Cargo.lock index 0a83cfc7278..e4e79726d35 100644 --- a/nym-wallet/Cargo.lock +++ b/nym-wallet/Cargo.lock @@ -2209,6 +2209,12 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + [[package]] name = "hermit-abi" version = "0.1.19" @@ -3195,7 +3201,7 @@ dependencies = [ "nym-network-defaults", "rand 0.8.5", "serde", - "strum 0.25.0", + "strum 0.26.3", "thiserror", "time", ] @@ -3403,7 +3409,7 @@ dependencies = [ "serde", "serde_json", "sha2 0.10.8", - "strum 0.25.0", + "strum 0.26.3", "thiserror", "ts-rs", "url", @@ -5188,11 +5194,11 @@ dependencies = [ [[package]] name = "strum" -version = "0.25.0" +version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" dependencies = [ - "strum_macros 0.25.3", + "strum_macros 0.26.4", ] [[package]] @@ -5210,11 +5216,11 @@ dependencies = [ [[package]] name = "strum_macros" -version = "0.25.3" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "proc-macro2", "quote", "rustversion",