We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5226d0 commit 61b955dCopy full SHA for 61b955d
src/daemon/state/project.rs
@@ -15,7 +15,7 @@ pub struct Target {
15
sources: Vec<PathBuf>,
16
}
17
18
-#[derive(Debug)]
+#[derive(Debug, Default)]
19
#[cfg_attr(feature = "serial", derive(serde::Deserialize))]
20
pub struct LocalConfig {
21
pub ignore: Vec<String>,
@@ -32,7 +32,7 @@ pub struct Project {
32
/// The list of targets in the project mapped by name
33
targets: TargetMap,
34
/// XcodeBase local configuration
35
- #[cfg_attr(feature = "serial", serde(rename(deserialize = "XcodeBase")))]
+ #[cfg_attr(feature = "serial", serde(rename(deserialize = "XcodeBase"), default))]
36
xcode_base: LocalConfig,
37
/// Root directory
38
#[cfg_attr(feature = "serial", serde(skip))]
0 commit comments