Skip to content

Commit 63608c4

Browse files
committed
fix(examples): "cargo test --features serde-serialization"
1 parent 5c7195a commit 63608c4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/headers.rs

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// TODO: only import header!, blocked by https://github.com/rust-lang/rust/issues/25003
55
extern crate hyper;
66

7+
#[cfg(feature = "serde-serialization")]
8+
extern crate serde;
9+
710
// A header in the form of `X-Foo: some random string`
811
header! {
912
(Foo, "X-Foo") => [String]

0 commit comments

Comments
 (0)