feat(http): add optional serialization of common types via serde

This is behind a Cargo feature to avoid forcing downstream users to
depend on `serde`. It is needed for Servo IPC to work.
This commit is contained in:
Patrick Walton
2015-07-10 13:16:11 -07:00
parent 623824d8b2
commit 87de1b77bc
6 changed files with 140 additions and 0 deletions

View File

@@ -133,6 +133,8 @@ extern crate time;
extern crate url;
#[cfg(feature = "openssl")]
extern crate openssl;
#[cfg(feature = "serde-serialization")]
extern crate serde;
extern crate cookie;
extern crate unicase;
extern crate httparse;