mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-25 22:55:06 +02:00
refactor: remove unused typed-builder proc macro usage in options (#1156)
This commit is contained in:
parent
ccb93223f7
commit
b9c106c9cf
@ -11,7 +11,6 @@ use indexmap::IndexSet;
|
|||||||
use layout_options::*;
|
use layout_options::*;
|
||||||
use regex::Regex;
|
use regex::Regex;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use typed_builder::*;
|
|
||||||
|
|
||||||
#[cfg(feature = "battery")]
|
#[cfg(feature = "battery")]
|
||||||
use starship_battery::Manager;
|
use starship_battery::Manager;
|
||||||
@ -44,7 +43,7 @@ pub struct Config {
|
|||||||
pub processes: Option<ProcessConfig>,
|
pub processes: Option<ProcessConfig>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, Default, Deserialize, Serialize, TypedBuilder)]
|
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
|
||||||
pub struct ConfigFlags {
|
pub struct ConfigFlags {
|
||||||
pub hide_avg_cpu: Option<bool>,
|
pub hide_avg_cpu: Option<bool>,
|
||||||
pub dot_marker: Option<bool>,
|
pub dot_marker: Option<bool>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user