From 1fbb286b736597960cbadd1e22f0a28c3b92db6c Mon Sep 17 00:00:00 2001 From: Andrew Archibald Date: Sat, 14 Aug 2021 18:59:57 +0200 Subject: [PATCH] Add crates.io packages --- rust/censoredusername-whitespace-rs.json | 1 + rust/luminight.json | 1 + tools/project.schema.json | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/rust/censoredusername-whitespace-rs.json b/rust/censoredusername-whitespace-rs.json index 4b723f38..9edbdfa7 100644 --- a/rust/censoredusername-whitespace-rs.json +++ b/rust/censoredusername-whitespace-rs.json @@ -37,6 +37,7 @@ "readi": ["inum"] } }, + "package": { "name": "whitespacers", "manager": "crates.io", "url": "https://crates.io/crates/whitespacers" }, "commands": [ { "type": "interpreter", diff --git a/rust/luminight.json b/rust/luminight.json index 15da17b2..6cf4eb48 100644 --- a/rust/luminight.json +++ b/rust/luminight.json @@ -8,6 +8,7 @@ "date": "2020-08-04 15:04:18 +0200", "spec_version": "0.2", "source": ["https://github.com/Luminighty/rustws"], + "package": { "name": "rustws", "manager": "crates.io", "url": "https://crates.io/crates/rustws" }, "mappings": [{ "space": "S", "tab": "T", "lf": "L", "spaces_between": false, "ignore_case": true }], "commands": [ { diff --git a/tools/project.schema.json b/tools/project.schema.json index b7cb8045..9f9b6b49 100644 --- a/tools/project.schema.json +++ b/tools/project.schema.json @@ -115,7 +115,7 @@ "type": "object", "properties": { "name": { "type": "string" }, - "manager": { "type": "string", "enum": ["Hackage", "NuGet", "PyPI", "RubyGems"] }, + "manager": { "type": "string", "enum": ["crates.io", "Hackage", "NuGet", "PyPI", "RubyGems"] }, "url": { "type": "string", "format": "uri" } }, "required": ["name", "manager", "url"],