Skip to content

Commit

Permalink
feat: unstable-json-schema generation for Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
dacianpascu06 committed Oct 14, 2024
1 parent ab71ba9 commit b32db7e
Show file tree
Hide file tree
Showing 5 changed files with 1,601 additions and 2 deletions.
5 changes: 5 additions & 0 deletions crates/cargo-util-schemas/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ repository.workspace = true
description = "Deserialization schemas for Cargo"

[dependencies]
schemars = { version = "0.8.21", features = ["preserve_order","semver"], optional = true }
semver.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json = { version = "1.0", optional = true }
serde-untagged.workspace = true
serde-value.workspace = true
thiserror.workspace = true
Expand All @@ -23,3 +25,6 @@ workspace = true

[dev-dependencies]
snapbox.workspace = true

[features]
unstable-schema = ["dep:schemars", "dep:serde_json"]
Loading

0 comments on commit b32db7e

Please sign in to comment.