Add 'ephemeral' config option
This commit is contained in:
parent
d61e0ceab7
commit
84ff1f068b
3 changed files with 11 additions and 3 deletions
|
|
@ -6,7 +6,10 @@ use serde::Deserialize;
|
|||
use crate::macros::ok_or_return;
|
||||
|
||||
#[derive(Debug, Default, Deserialize)]
|
||||
pub struct Config {}
|
||||
pub struct Config {
|
||||
#[serde(default)]
|
||||
pub ephemeral: bool,
|
||||
}
|
||||
|
||||
impl Config {
|
||||
pub fn load(path: &Path) -> Self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue