@@ -1536,15 +1536,12 @@ pub struct TomlWorkspace {
1536
1536
default_members : Option < Vec < String > > ,
1537
1537
exclude : Option < Vec < String > > ,
1538
1538
resolver : Option < String > ,
1539
+ metadata : Option < toml:: Value > ,
1539
1540
1540
1541
// Properties that can be inherited by members.
1541
1542
package : Option < InheritableFields > ,
1542
1543
dependencies : Option < BTreeMap < String , TomlDependency > > ,
1543
1544
lints : Option < TomlLints > ,
1544
-
1545
- // Note that this field must come last due to the way toml serialization
1546
- // works which requires tables to be emitted after all values.
1547
- metadata : Option < toml:: Value > ,
1548
1545
}
1549
1546
1550
1547
/// A group of fields that are inheritable by members of the workspace
@@ -1710,13 +1707,11 @@ pub struct TomlPackage {
1710
1707
repository : Option < MaybeWorkspaceString > ,
1711
1708
resolver : Option < String > ,
1712
1709
1710
+ metadata : Option < toml:: Value > ,
1711
+
1713
1712
// Provide a helpful error message for a common user error.
1714
1713
#[ serde( rename = "cargo-features" , skip_serializing) ]
1715
1714
_invalid_cargo_features : Option < InvalidCargoFeatures > ,
1716
-
1717
- // Note that this field must come last due to the way toml serialization
1718
- // works which requires tables to be emitted after all values.
1719
- metadata : Option < toml:: Value > ,
1720
1715
}
1721
1716
1722
1717
impl TomlPackage {
0 commit comments