diff --git a/compiler/crates/relay-config/Cargo.toml b/compiler/crates/relay-config/Cargo.toml index e030b7f1e3910..d22a5b5eccfad 100644 --- a/compiler/crates/relay-config/Cargo.toml +++ b/compiler/crates/relay-config/Cargo.toml @@ -15,5 +15,4 @@ pathdiff = "0.2" regex = "1.6.0" serde = { version = "1.0.136", features = ["derive", "rc"] } serde_json = { version = "1.0.79", features = ["float_roundtrip", "unbounded_depth"] } -strum = "0.21" -strum_macros = "0.21" +strum = { version = "0.24", features = ["derive"] } diff --git a/compiler/crates/relay-config/src/typegen_config.rs b/compiler/crates/relay-config/src/typegen_config.rs index 8f1594fcf7c3b..ab70dfd31b850 100644 --- a/compiler/crates/relay-config/src/typegen_config.rs +++ b/compiler/crates/relay-config/src/typegen_config.rs @@ -13,13 +13,13 @@ use indexmap::IndexMap; use intern::string_key::StringKey; use serde::Deserialize; use serde::Serialize; +use strum::EnumIter; use strum::IntoEnumIterator; -use strum_macros::EnumIter; type FnvIndexMap = IndexMap; #[derive( EnumIter, - strum_macros::ToString, + strum::Display, Debug, Copy, Clone,