From e23c05a1dfaf76283a365f7106451c3f9d63ac6d Mon Sep 17 00:00:00 2001 From: Ben Wishovich Date: Tue, 27 Dec 2022 11:01:20 -0800 Subject: [PATCH] Remove unused derives --- leptos_config/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/leptos_config/src/lib.rs b/leptos_config/src/lib.rs index 005409641..71a1bc6c5 100644 --- a/leptos_config/src/lib.rs +++ b/leptos_config/src/lib.rs @@ -11,7 +11,6 @@ use typed_builder::TypedBuilder; /// A Struct to allow us to parse LeptosOptions from the file. Not really needed, most interactions should /// occur with LeptosOptions #[derive(Clone, serde::Deserialize)] -#[serde(rename_all(deserialize = "snake_case"))] pub struct ConfFile { pub leptos_options: LeptosOptions, } @@ -20,7 +19,6 @@ pub struct ConfFile { /// correct path for WASM, JS, and Websockets, as well as other configuration tasks. /// It shares keys with cargo-leptos, to allow for easy interoperability #[derive(TypedBuilder, Clone, serde::Deserialize)] -#[serde(rename_all(deserialize = "snake_case"))] pub struct LeptosOptions { /// The name of the WASM and JS files generated by wasm-bindgen. Defaults to the crate name with underscores instead of dashes #[builder(setter(into))]