diff options
author | metamuffin <metamuffin@disroot.org> | 2023-12-22 00:29:11 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-12-22 00:29:11 +0100 |
commit | 826c61c9612e855b19c3adb0e93d80bbfb4dc903 (patch) | |
tree | f7fb1b900b3fa5ced46de392a47756c3ca5cc398 /common/src | |
parent | 3a29113e965a94bdef06655f1583cc6e86edd606 (diff) | |
download | jellything-826c61c9612e855b19c3adb0e93d80bbfb4dc903.tar jellything-826c61c9612e855b19c3adb0e93d80bbfb4dc903.tar.bz2 jellything-826c61c9612e855b19c3adb0e93d80bbfb4dc903.tar.zst |
rework import system pt. 2
Diffstat (limited to 'common/src')
-rw-r--r-- | common/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs index e953d85..9a3535a 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -21,8 +21,8 @@ use std::{collections::BTreeMap, path::PathBuf}; #[derive(Debug, Clone, Deserialize, Serialize, Default)] pub struct Node { - pub public: NodePublic, - pub private: NodePrivate, + #[serde(default)] pub public: NodePublic, + #[serde(default)] pub private: NodePrivate, } #[rustfmt::skip] |