chore: add debug flag + housekeeping
This commit is contained in:
parent
18d349c11f
commit
67e77c122f
4 changed files with 29 additions and 12 deletions
11
lib/main.rs
11
lib/main.rs
|
@ -31,8 +31,17 @@ pub struct TagState {
|
|||
pub urgent: bool,
|
||||
}
|
||||
|
||||
#[derive(Default, Deserialize)]
|
||||
#[derive(Deserialize)]
|
||||
pub struct Config {
|
||||
pub prepopulate: u8,
|
||||
pub strict: bool,
|
||||
}
|
||||
|
||||
impl Default for Config {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
prepopulate: 3,
|
||||
strict: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue