Fix kebab-case naming in config
This commit is contained in:
parent
fc2ae6cf0a
commit
ef1c124395
@ -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,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user