diff options
Diffstat (limited to 'src/configs/git_branch.rs')
-rw-r--r-- | src/configs/git_branch.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/configs/git_branch.rs b/src/configs/git_branch.rs index c20321592..1123df330 100644 --- a/src/configs/git_branch.rs +++ b/src/configs/git_branch.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 GitBranchConfig<'a> { pub format: &'a str, pub symbol: &'a str, |