Skip to content

Commit

Permalink
Merge pull request #643 from erickt/master
Browse files Browse the repository at this point in the history
fix "cargo test --features serde-serialization"
  • Loading branch information
seanmonstar committed Sep 1, 2015
2 parents 5c7195a + 63608c4 commit ca67013
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/headers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
// TODO: only import header!, blocked by https://github.com/rust-lang/rust/issues/25003
extern crate hyper;

#[cfg(feature = "serde-serialization")]
extern crate serde;

// A header in the form of `X-Foo: some random string`
header! {
(Foo, "X-Foo") => [String]
Expand Down

0 comments on commit ca67013

Please sign in to comment.