Skip to content

Commit 7b7fa1a

Browse files
committed
refactor(toml): Separate unused_keys from payload
1 parent 26905f2 commit 7b7fa1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cargo/util/toml/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2096,6 +2096,7 @@ pub struct TomlWorkspaceDependency {
20962096
default_features2: Option<bool>,
20972097
optional: Option<bool>,
20982098
public: Option<bool>,
2099+
20992100
/// This is here to provide a way to see the "unused manifest keys" when deserializing
21002101
#[serde(skip_serializing)]
21012102
#[serde(flatten)]
@@ -2321,6 +2322,7 @@ pub struct DetailedTomlDependency<P: Clone = String> {
23212322
lib: Option<bool>,
23222323
/// A platform name, like `x86_64-apple-darwin`
23232324
target: Option<String>,
2325+
23242326
/// This is here to provide a way to see the "unused manifest keys" when deserializing
23252327
#[serde(skip_serializing)]
23262328
#[serde(flatten)]

0 commit comments

Comments
 (0)