From 701a7e3a9a1063b1fbd2c87b1cce49a729362951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20F=C3=A4rnstrand?= Date: Tue, 16 Jan 2024 15:33:38 +0100 Subject: [PATCH] Remove `version` from required cargo package fields --- src/schemas/json/cargo.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/schemas/json/cargo.json b/src/schemas/json/cargo.json index 172888e8cd0..5e68c44e85b 100644 --- a/src/schemas/json/cargo.json +++ b/src/schemas/json/cargo.json @@ -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": [