File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
//! HTTP extensions.
2
2
3
+ #[ cfg( all( any( feature = "client" , feature = "server" ) , feature = "http1" ) ) ]
3
4
use bytes:: Bytes ;
4
5
#[ cfg( any(
5
6
all( any( feature = "client" , feature = "server" ) , feature = "http1" ) ,
6
7
feature = "ffi"
7
8
) ) ]
8
9
use http:: header:: HeaderName ;
9
10
#[ cfg( all( any( feature = "client" , feature = "server" ) , feature = "http1" ) ) ]
10
- use http:: header:: { IntoHeaderName , ValueIter } ;
11
- use http:: HeaderMap ;
11
+ use http:: header:: { HeaderMap , IntoHeaderName , ValueIter } ;
12
12
#[ cfg( feature = "ffi" ) ]
13
13
use std:: collections:: HashMap ;
14
14
#[ cfg( feature = "http2" ) ]
@@ -98,6 +98,7 @@ impl fmt::Debug for Protocol {
98
98
/// ```
99
99
///
100
100
/// [`preserve_header_case`]: /client/struct.Client.html#method.preserve_header_case
101
+ #[ cfg( all( any( feature = "client" , feature = "server" ) , feature = "http1" ) ) ]
101
102
#[ derive( Clone , Debug ) ]
102
103
pub ( crate ) struct HeaderCaseMap ( HeaderMap < Bytes > ) ;
103
104
You can’t perform that action at this time.
0 commit comments