We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c7195a commit 63608c4Copy full SHA for 63608c4
examples/headers.rs
@@ -4,6 +4,9 @@
4
// TODO: only import header!, blocked by https://github.com/rust-lang/rust/issues/25003
5
extern crate hyper;
6
7
+#[cfg(feature = "serde-serialization")]
8
+extern crate serde;
9
+
10
// A header in the form of `X-Foo: some random string`
11
header! {
12
(Foo, "X-Foo") => [String]
0 commit comments