Merge branch '6-no-default-for-storage-config' into 'master'
add default value for storage config Closes #6 See merge request !2
This commit is contained in:
commit
0f1ce507f9
@ -32,6 +32,7 @@ fn timestamp() -> i64 {
|
||||
#[derive(Serialize, Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct Config {
|
||||
#[serde(default)]
|
||||
pub storage: String,
|
||||
#[serde(default = "default_map")]
|
||||
pub games: HashMap<String, u64>,
|
||||
|
Loading…
Reference in New Issue
Block a user