diff options
Diffstat (limited to 'src/configs/cmd_duration.rs')
-rw-r--r-- | src/configs/cmd_duration.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configs/cmd_duration.rs b/src/configs/cmd_duration.rs index 096fbf8e1..be5d2f732 100644 --- a/src/configs/cmd_duration.rs +++ b/src/configs/cmd_duration.rs @@ -1,8 +1,9 @@ use crate::config::ModuleConfig; +use serde::Serialize; use starship_module_config_derive::ModuleConfig; -#[derive(Clone, ModuleConfig)] +#[derive(Clone, ModuleConfig, Serialize)] pub struct CmdDurationConfig<'a> { pub min_time: i64, pub format: &'a str, |