Permalink
Browse files

remove feature() and make them all required to be less annoying

  • Loading branch information...
1 parent ce2f4d0 commit fb031b2b8878040654500b9243ee1d6eff751f3d @miyagawa miyagawa committed Oct 27, 2009
Showing with 6 additions and 29 deletions.
  1. +5 −28 Makefile.PL
  2. +1 −1 README
View
@@ -24,35 +24,12 @@ requires 'Devel::StackTrace::AsHTML'; # Middleware::StackTrace
requires 'Filesys::Notify::Simple'; # plackup -r
-feature 'Serve static files - Middleware::Static and App::File',
- 'Path::Class',
- 'MIME::Types';
+# TODO: they can go away once we create Plack-Middlewares dist
+# Middleware::Static and App::File
+requires 'Path::Class', 'MIME::Types';
-feature 'Fast XS-based HTTP header parsing',
- 'HTTP::Parser::XS', 0.04;
-
-feature 'Prefork HTTP server',
- 'Parallel::Prefork';
-
-feature 'FastCGI daemon and dispatcher',
- -default => 0,
- 'FCGI' => 0.67,
- 'FCGI::Client' => 0.02,
- 'FCGI::ProcManager';
-
-
-feature 'Serve static files with sendfile(2)',
- -default => 0,
- 'Sys::Sendfile' => 0.09;
-
-feature 'Stacktrace with lexical variables',
- -default => 0,
- 'Devel::StackTrace::WithLexicals';
-
-feature 'Middleware::Deflater',
- -default => 0,
- 'IO::Compress::Gzip',
- 'IO::Compress::Deflate';
+# Middleware::Deflater
+requires 'IO::Compress::Gzip','IO::Compress::Deflate';
build_requires 'Test::More', 0.88;
build_requires 'Test::TCP', 0.11;
View
@@ -47,7 +47,7 @@ MODULES AND UTILITIES
clean API, and compatibility with Plack::Builder DSL.
Plack::Builder
- Plack::Builder gives you a DSL that you can add "Middleware", in ".psgi"
+ Plack::Builder gives you a DSL that you can enable Middleware in ".psgi"
files to wrap existent PSGI applications.
Plack::Request, Plack::Response

0 comments on commit fb031b2

Please sign in to comment.