diff options
Diffstat (limited to 'src/configs/openstack.rs')
-rw-r--r-- | src/configs/openstack.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/configs/openstack.rs b/src/configs/openstack.rs index 2525466af..a969a4f8f 100644 --- a/src/configs/openstack.rs +++ b/src/configs/openstack.rs @@ -1,8 +1,7 @@ -use crate::config::ModuleConfig; -use serde::Serialize; -use starship_module_config_derive::ModuleConfig; +use serde::{Deserialize, Serialize}; -#[derive(Clone, ModuleConfig, Serialize)] +#[derive(Clone, Deserialize, Serialize)] +#[serde(default)] pub struct OspConfig<'a> { pub format: &'a str, pub symbol: &'a str, |