From 111824be287acf81640bfe0d2014c65bb0522426 Mon Sep 17 00:00:00 2001 From: Lohachov Mykhailo Date: Fri, 13 Dec 2024 16:58:24 +0900 Subject: [PATCH] fix: parse lowercase Signed-off-by: Lohachov Mykhailo --- crates/iroha_wasm_builder/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/iroha_wasm_builder/src/lib.rs b/crates/iroha_wasm_builder/src/lib.rs index d21d8cbd47..1ef052f0dd 100644 --- a/crates/iroha_wasm_builder/src/lib.rs +++ b/crates/iroha_wasm_builder/src/lib.rs @@ -30,6 +30,7 @@ const TOOLCHAIN: &str = "+nightly-2024-09-09"; Serialize, Deserialize, )] +#[serde(rename_all = "snake_case")] #[strum(serialize_all = "snake_case")] pub enum Profile { /// Applies release optimization