Skip to content

Commit c3a2b1a

Browse files
authored
fix(schemas): Fix the [lints] JSON Schema (#15035)
### What does this PR try to resolve? The version update addresses the `flatten` issue but I also fixed an issue with `lints.workspace`. I didn't notice any other user-facing side effect of the upgrade but I could have missed that in the noise. Fixes #15030 ### How should we test and review this PR? ### Additional information
2 parents 4a1e2ea + 6fe36c2 commit c3a2b1a

File tree

6 files changed

+211
-236
lines changed

6 files changed

+211
-236
lines changed

Cargo.lock

Lines changed: 34 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ rustc-hash = "2.0.0"
8585
rustc-stable-hash = "0.1.1"
8686
rustfix = { version = "0.9.0", path = "crates/rustfix" }
8787
same-file = "1.0.6"
88-
schemars = "0.8.21"
88+
schemars = "1.0.0-alpha.17"
8989
security-framework = "3.0.0"
9090
semver = { version = "1.0.23", features = ["serde"] }
9191
serde = "1.0.204"

crates/cargo-util-schemas/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repository.workspace = true
99
description = "Deserialization schemas for Cargo"
1010

1111
[dependencies]
12-
schemars = { workspace = true, features = ["preserve_order","semver"], optional = true }
12+
schemars = { workspace = true, features = ["preserve_order", "semver1"], optional = true }
1313
semver.workspace = true
1414
serde = { workspace = true, features = ["derive"] }
1515
serde_json = { workspace = true, optional = true }

0 commit comments

Comments
 (0)