File tree 1 file changed +30
-4
lines changed
crates/cargo-util-schemas
1 file changed +30
-4
lines changed Original file line number Diff line number Diff line change 51
51
" null"
52
52
],
53
53
"additionalProperties" : {
54
- "type" : " array" ,
55
- "items" : {
56
- "type" : " string"
57
- }
54
+ "$ref" : " #/$defs/FeatureDefinition"
58
55
}
59
56
},
60
57
"lib" : {
597
594
]
598
595
},
599
596
"TomlValue" : true ,
597
+ "FeatureDefinition" : {
598
+ "anyOf" : [
599
+ {
600
+ "type" : " array" ,
601
+ "items" : {
602
+ "type" : " string"
603
+ }
604
+ },
605
+ {
606
+ "$ref" : " #/$defs/FeatureMetadata"
607
+ }
608
+ ]
609
+ },
610
+ "FeatureMetadata" : {
611
+ "description" : " Metadata about a feature." ,
612
+ "type" : " object" ,
613
+ "properties" : {
614
+ "enables" : {
615
+ "description" : " Features that this feature enables." ,
616
+ "type" : " array" ,
617
+ "items" : {
618
+ "type" : " string"
619
+ }
620
+ }
621
+ },
622
+ "required" : [
623
+ " enables"
624
+ ]
625
+ },
600
626
"TomlTarget" : {
601
627
"type" : " object" ,
602
628
"properties" : {
You can’t perform that action at this time.
0 commit comments