Skip to content

Commit 76040a6

Browse files
authored
Fix Inherits in cargo.json (SchemaStore#5011)
1 parent 62b011a commit 76040a6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/schemas/json/cargo.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,13 @@
265265
"Inherits": {
266266
"title": "Inherits",
267267
"description": "In addition to the built-in profiles, additional custom profiles can be defined.",
268-
"type": "string",
269-
"enum": ["dev", "test", "bench", "release"],
268+
"oneOf": [
269+
{
270+
"type": "string",
271+
"enum": ["dev", "test", "bench", "release"]
272+
},
273+
{ "type": "string" }
274+
],
270275
"x-taplo": {
271276
"links": {
272277
"key": "https://doc.rust-lang.org/cargo/reference/profiles.html#custom-profiles"

0 commit comments

Comments
 (0)