Add 'ephemeral' config option

This commit is contained in:
Joscha 2022-08-25 22:15:43 +02:00
parent d61e0ceab7
commit 84ff1f068b
3 changed files with 11 additions and 3 deletions

View file

@ -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 {