Skip to content

Commit

Permalink
Remove version from required cargo package fields (#3522)
Browse files Browse the repository at this point in the history
  • Loading branch information
faern authored Jan 16, 2024
1 parent ba83733 commit 0ef340e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/schemas/json/cargo.json
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,9 @@
},
"Package": {
"title": "Package",
"description": "The only fields required by Cargo are [`name`](https://doc.rust-lang.org/cargo/reference/manifest.html#the-name-field) and\n[`version`](https://doc.rust-lang.org/cargo/reference/manifest.html#the-version-field). If publishing to a registry, the registry may\nrequire additional fields. See the notes below and [the publishing chapter](https://doc.rust-lang.org/cargo/reference/publishing.html) for requirements for publishing to [crates.io](https://crates.io/).",
"description": "The only field required by Cargo is [`name`](https://doc.rust-lang.org/cargo/reference/manifest.html#the-name-field).\n If publishing to a registry, the registry may\nrequire additional fields. See the notes below and [the publishing chapter](https://doc.rust-lang.org/cargo/reference/publishing.html) for requirements for publishing to [crates.io](https://crates.io/).",
"type": "object",
"required": ["name", "version"],
"required": ["name"],
"properties": {
"authors": {
"anyOf": [
Expand Down

0 comments on commit 0ef340e

Please sign in to comment.