File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " xcodeproj"
3- version = " 0.2.8 "
3+ version = " 0.2.9 "
44edition = " 2021"
55description = " xcodeproj reader and parser."
66license = " MIT OR Apache-2.0"
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ use std::{
1414use tap:: Pipe ;
1515
1616/// `Main` Representation of project.pbxproj file
17- #[ derive( Default , Debug , derive_new:: new, derive_deref_rs:: Deref ) ]
17+ #[ derive( Default , derive_new:: new, derive_deref_rs:: Deref ) ]
1818pub struct PBXRootObject {
1919 /// archiveVersion
2020 archive_version : u8 ,
@@ -29,6 +29,17 @@ pub struct PBXRootObject {
2929 root_object_reference : String ,
3030}
3131
32+ impl std:: fmt:: Debug for PBXRootObject {
33+ fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
34+ f. debug_struct ( "PBXRootObject" )
35+ . field ( "archive_version" , & self . archive_version )
36+ . field ( "object_version" , & self . object_version )
37+ . field ( "classes" , & self . classes )
38+ . field ( "root_object_reference" , & self . root_object_reference )
39+ . finish ( )
40+ }
41+ }
42+
3243impl PBXRootObject {
3344 /// Get the pbxproject's archive version.
3445 #[ must_use]
You can’t perform that action at this time.
0 commit comments