fix(examples): "cargo test --features serde-serialization"
This commit is contained in:
@@ -4,6 +4,9 @@
|
|||||||
// TODO: only import header!, blocked by https://github.com/rust-lang/rust/issues/25003
|
// TODO: only import header!, blocked by https://github.com/rust-lang/rust/issues/25003
|
||||||
extern crate hyper;
|
extern crate hyper;
|
||||||
|
|
||||||
|
#[cfg(feature = "serde-serialization")]
|
||||||
|
extern crate serde;
|
||||||
|
|
||||||
// A header in the form of `X-Foo: some random string`
|
// A header in the form of `X-Foo: some random string`
|
||||||
header! {
|
header! {
|
||||||
(Foo, "X-Foo") => [String]
|
(Foo, "X-Foo") => [String]
|
||||||
|
|||||||
Reference in New Issue
Block a user