diff --git a/blahd/src/config.rs b/blahd/src/config.rs index ebda26c..2e4786f 100644 --- a/blahd/src/config.rs +++ b/blahd/src/config.rs @@ -19,6 +19,7 @@ pub struct Config { #[derive(Debug, Clone, Deserialize)] #[serde(deny_unknown_fields)] pub struct DatabaseConfig { + #[serde_inline_default(false)] pub in_memory: bool, #[serde_inline_default("/var/lib/blahd/db.sqlite".into())] pub path: PathBuf,