diff options
author | David Knaack <davidkna@users.noreply.github.com> | 2021-03-31 17:31:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-31 17:31:55 +0200 |
commit | d06ba072a88da96448260ff7c97174a08aad669a (patch) | |
tree | 30ff17a324703e767a8bb19b0114d7d6ca2aea0c /src/configs/rust.rs | |
parent | 2b15ca1a157fa21dd7d8432b2c51e1e2ecf87496 (diff) |
feat(config): allow printing default and computed config (#2521)
* feat: allow printing default and computed config
* fix custom modules
* actually fix custom modules
Diffstat (limited to 'src/configs/rust.rs')
-rw-r--r-- | src/configs/rust.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configs/rust.rs b/src/configs/rust.rs index 24746f780..187e31182 100644 --- a/src/configs/rust.rs +++ b/src/configs/rust.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 RustConfig<'a> { pub format: &'a str, pub symbol: &'a str, |