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