1010
1111#[ derive( Debug , Deserialize ) ]
1212#[ serde( deny_unknown_fields) ]
13+ #[ allow( dead_code) ]
1314pub struct LinkEntry {
1415 pub name : String ,
1516 pub path_static : Option < String > ,
@@ -20,6 +21,7 @@ pub struct LinkEntry {
2021
2122#[ derive( Debug , Deserialize ) ]
2223#[ serde( deny_unknown_fields) ]
24+ #[ allow( dead_code) ]
2325pub struct PythonBuildExtensionInfo {
2426 pub in_core : bool ,
2527 pub init_fn : String ,
@@ -36,6 +38,7 @@ pub struct PythonBuildExtensionInfo {
3638
3739#[ derive( Debug , Deserialize ) ]
3840#[ serde( deny_unknown_fields) ]
41+ #[ allow( dead_code) ]
3942pub struct PythonBuildCoreInfo {
4043 pub objs : Vec < String > ,
4144 pub links : Vec < LinkEntry > ,
@@ -45,6 +48,7 @@ pub struct PythonBuildCoreInfo {
4548
4649#[ derive( Debug , Deserialize ) ]
4750#[ serde( deny_unknown_fields) ]
51+ #[ allow( dead_code) ]
4852pub struct PythonBuildInfo {
4953 pub core : PythonBuildCoreInfo ,
5054 pub extensions : BTreeMap < String , Vec < PythonBuildExtensionInfo > > ,
@@ -56,6 +60,7 @@ pub struct PythonBuildInfo {
5660
5761#[ derive( Debug , Deserialize ) ]
5862#[ serde( deny_unknown_fields) ]
63+ #[ allow( dead_code) ]
5964pub struct PythonJsonMain {
6065 pub apple_sdk_canonical_name : Option < String > ,
6166 pub apple_sdk_deployment_target : Option < String > ,
0 commit comments