Add cookie_rs as default feature and implement conditional compilation.

This commit is contained in:
Stanislav Panferov
2014-10-08 11:38:01 +04:00
committed by Sean McArthur
parent 20f156c592
commit a3fc51611f
4 changed files with 33 additions and 14 deletions

View File

@@ -136,7 +136,7 @@ extern crate "unsafe-any" as uany;
extern crate "move-acceptor" as macceptor;
extern crate intertwine;
extern crate typeable;
extern crate cookie;
#[cfg(feature = "cookie_rs")] extern crate cookie;
pub use std::io::net::ip::{SocketAddr, IpAddr, Ipv4Addr, Ipv6Addr, Port};
pub use mimewrapper::mime;