Skip to content

Commit

Permalink
fix(examples): "cargo test --features serde-serialization"
Browse files Browse the repository at this point in the history
  • Loading branch information
erickt committed Sep 1, 2015
1 parent 5c7195a commit 63608c4
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 63608c4

Please sign in to comment.