diff --git a/manifest/src/bin.rs b/manifest/src/bin.rs index f55a8e5..5142d99 100644 --- a/manifest/src/bin.rs +++ b/manifest/src/bin.rs @@ -5,5 +5,15 @@ use serde::{Deserialize, Serialize}; #[derive(Debug, Clone, Serialize, Deserialize)] pub struct Bin { pub root: String, + #[serde(default)] pub checksums: HashMap, } + +impl Default for Bin { + fn default() -> Self { + Bin { + root: String::default(), + checksums: HashMap::default(), + } + } +}