Skip to content

Commit 06ed5c4

Browse files
committed
feat(xcodeproj): implement default
1 parent 7cfe8c1 commit 06ed5c4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "xcodeproj"
3-
version = "0.2.5"
3+
version = "0.2.6"
44
edition = "2021"
55
description = "xcodeproj reader and parser."
66
license = "MIT OR Apache-2.0"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub mod pbxproj;
1414
pub mod xcode;
1515

1616
/// Main presentation of XCodeProject
17-
#[derive(Debug, derive_deref_rs::Deref)]
17+
#[derive(Debug, Default, derive_deref_rs::Deref)]
1818
pub struct XCodeProject {
1919
root: PathBuf,
2020
#[deref]

src/pbxproj/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use std::path::{Path, PathBuf};
1111
use tap::Pipe;
1212

1313
/// `Main` Representation of project.pbxproj file
14-
#[derive(Debug, derive_new::new, derive_deref_rs::Deref)]
14+
#[derive(Default, Debug, derive_new::new, derive_deref_rs::Deref)]
1515
pub struct PBXRootObject {
1616
/// archiveVersion
1717
archive_version: u8,

0 commit comments

Comments
 (0)