diff options
Diffstat (limited to 'src/configs/elm.rs')
-rw-r--r-- | src/configs/elm.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/configs/elm.rs b/src/configs/elm.rs index 34d6b6260..1b5357d43 100644 --- a/src/configs/elm.rs +++ b/src/configs/elm.rs @@ -1,9 +1,7 @@ -use crate::config::ModuleConfig; +use serde::{Deserialize, Serialize}; -use serde::Serialize; -use starship_module_config_derive::ModuleConfig; - -#[derive(Clone, ModuleConfig, Serialize)] +#[derive(Clone, Deserialize, Serialize)] +#[serde(default)] pub struct ElmConfig<'a> { pub format: &'a str, pub version_format: &'a str, |