Skip to content

Commit

Permalink
remove feature() and make them all required to be less annoying
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Oct 27, 2009
1 parent ce2f4d0 commit fb031b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 29 deletions.
33 changes: 5 additions & 28 deletions Makefile.PL
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion README
Expand Up @@ -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
Expand Down

0 comments on commit fb031b2

Please sign in to comment.