diff options
Diffstat (limited to 'src/configs/python.rs')
-rw-r--r-- | src/configs/python.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/configs/python.rs b/src/configs/python.rs index 1be75deae..e36792fce 100644 --- a/src/configs/python.rs +++ b/src/configs/python.rs @@ -1,9 +1,9 @@ -use crate::config::{ModuleConfig, VecOr}; +use crate::config::VecOr; -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 PythonConfig<'a> { pub pyenv_version_name: bool, pub pyenv_prefix: &'a str, |