refactor: remove unused typed-builder proc macro usage in options (#1156)

This commit is contained in:
Clement Tsang 2023-05-16 00:03:34 -04:00 committed by GitHub
parent ccb93223f7
commit b9c106c9cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,6 @@ use indexmap::IndexSet;
use layout_options::*;
use regex::Regex;
use serde::{Deserialize, Serialize};
use typed_builder::*;
#[cfg(feature = "battery")]
use starship_battery::Manager;
@ -44,7 +43,7 @@ pub struct Config {
pub processes: Option<ProcessConfig>,
}
#[derive(Clone, Debug, Default, Deserialize, Serialize, TypedBuilder)]
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
pub struct ConfigFlags {
pub hide_avg_cpu: Option<bool>,
pub dot_marker: Option<bool>,