Fix kebab-case naming in config

This commit is contained in:
Elias Schriefer 2021-07-08 12:54:42 +02:00
parent fc2ae6cf0a
commit ef1c124395

View File

@ -36,8 +36,7 @@ struct Options {
database_path: PathBuf, database_path: PathBuf,
} }
#[derive(Debug, Deserialize)] #[serde(default, rename_all = "kebab-case")]
#[serde(default)]
struct Config { struct Config {
database_path: PathBuf, database_path: PathBuf,
} }