Fixing Makefile.PL, RT#42859
[catagits/Catalyst-Action-REST.git] / Makefile.PL
index 70297f9..7323e1d 100644 (file)
@@ -5,7 +5,7 @@ perl_version '5.8.1';
 name 'Catalyst-Action-REST';
 all_from 'lib/Catalyst/Action/REST.pm';
 
-requires('Catalyst'                  => '5.7001');
+requires('Catalyst-Runtime'          => '5.7001');
 requires('Params::Validate'          => '0.76');
 requires('YAML::Syck'                => '0.67');
 requires('Module::Pluggable::Object' => undef);
@@ -15,6 +15,11 @@ requires('Class::Inspector'          => '1.13');
 requires('URI::Find'                 => undef);
 requires('Data::Dump'                => undef);
 
+feature 'JSON (application/json) support',
+    -default   => 0,
+    'JSON'     => '2.12';
+    'JSON::XS' => '2.2222';
+
 feature 'Data::Denter (text/x-data-denter) support',
     -default => 0,
     'Data::Denter' => undef;