We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6114c3 commit 6fe36c2Copy full SHA for 6fe36c2
crates/cargo-util-schemas/manifest.schema.json
@@ -951,9 +951,6 @@
951
"type": "boolean"
952
}
953
},
954
- "required": [
955
- "workspace"
956
- ],
957
"additionalProperties": {
958
"type": "object",
959
crates/cargo-util-schemas/src/manifest/mod.rs
@@ -1525,6 +1525,7 @@ impl TomlPlatform {
1525
#[cfg_attr(feature = "unstable-schema", derive(schemars::JsonSchema))]
1526
pub struct InheritableLints {
1527
#[serde(skip_serializing_if = "is_false")]
1528
+ #[cfg_attr(feature = "unstable-schema", schemars(default))]
1529
pub workspace: bool,
1530
#[serde(flatten)]
1531
pub lints: TomlLints,
0 commit comments