From 63608c49c0168634238a119eb64ea1074df1b7e6 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Mon, 31 Aug 2015 21:49:27 -0700 Subject: [PATCH] fix(examples): "cargo test --features serde-serialization" --- examples/headers.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/headers.rs b/examples/headers.rs index 65f943d870..24e5301f27 100644 --- a/examples/headers.rs +++ b/examples/headers.rs @@ -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]