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,
}
#[derive(Debug, Deserialize)]
#[serde(default)]
#[serde(default, rename_all = "kebab-case")]
struct Config {
database_path: PathBuf,
}