Remove unused derives

This commit is contained in:
Ben Wishovich 2022-12-27 11:01:20 -08:00
parent be94c1b846
commit e23c05a1df

View file

@ -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))]