| 1 | package Sah::Schema::cpan::meta20::optional_feature; | ||
| 2 | |||
| 3 | 1 | our $DATE = '2017-01-08'; # DATE | |
| 4 | 1 | our $VERSION = '0.003'; # VERSION | |
| 5 | |||
| 6 | 1 | our $schema = ['hash', { | |
| 7 | summary => 'Additional information about an optional feature', | ||
| 8 | keys => { | ||
| 9 | description => ['str', {req=>1}, {}], | ||
| 10 | |||
| 11 | prereqs => ['cpan::meta20::optional_feature_prereqs', {req=>1}, {}], | ||
| 12 | |||
| 13 | requires => ['cpan::meta20::prereq', { | ||
| 14 | forbidden => 1, | ||
| 15 | "forbidden.err_level" => "warn", | ||
| 16 | "forbidden.err_msg" => "requires is deprecated in spec 2 and has been replaced by prereqs", | ||
| 17 | }, {}], | ||
| 18 | |||
| 19 | build_requires => ['cpan::meta20::prereq', { | ||
| 20 | forbidden => 1, | ||
| 21 | "forbidden.err_level" => "warn", | ||
| 22 | "forbidden.err_msg" => "build_requires is deprecated in spec 2 and has been replaced by prereqs", | ||
| 23 | }, {}], | ||
| 24 | |||
| 25 | recommends => ['cpan::meta20::prereq', { | ||
| 26 | forbidden => 1, | ||
| 27 | "forbidden.err_level" => "warn", | ||
| 28 | "forbidden.err_msg" => "recommends is deprecated in spec 2 and has been replaced by prereqs", | ||
| 29 | }, {}], | ||
| 30 | |||
| 31 | conflicts => ['cpan::meta20::prereq', { | ||
| 32 | forbidden => 1, | ||
| 33 | "forbidden.err_level" => "warn", | ||
| 34 | "forbidden.err_msg" => "conflicts is deprecated in spec 2 and has been replaced by prereqs", | ||
| 35 | }, {}], | ||
| 36 | }, | ||
| 37 | }, {}]; | ||
| 38 | |||
| 39 | # ABSTRACT: | ||
| 40 | |||
| 41 | __END__ |