diff --git a/Cargo.lock b/Cargo.lock index 41688ae..ae6cc48 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -541,7 +541,7 @@ dependencies = [ [[package]] name = "quickemu-rs" -version = "0.6.0" +version = "0.6.1" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index dcdf4a2..73b0fe3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "quickemu-rs" -version = "0.6.0" +version = "0.6.1" edition = "2021" [dependencies] diff --git a/src/config.rs b/src/config.rs index a77f83e..995db41 100644 --- a/src/config.rs +++ b/src/config.rs @@ -63,7 +63,7 @@ pub struct ConfigFile { pub network: Network, pub port_forwards: Option>, pub public_dir: Option, - #[serde(deserialize_with = "deserialize_size")] + #[serde(deserialize_with = "deserialize_size", default)] pub ram: Option, #[serde(default, skip_serializing_if = "is_default")] pub tpm: bool,