Fix a couple of feature flag uses
Wrap a json doc-test in cfg block to stop in failing when tests are run with --no-default-features
This commit is contained in:
committed by
Martin Algesten
parent
71a9df17e3
commit
b61991d87e
@@ -16,6 +16,7 @@ use crate::{Error, Header, Request, Response};
|
||||
#[cfg(feature = "tls")]
|
||||
use crate::request::TLSClientConfig;
|
||||
|
||||
#[cfg(feature = "cookie")]
|
||||
use crate::pool::DEFAULT_HOST;
|
||||
|
||||
/// It's a "unit of work". Maybe a bad name for it?
|
||||
|
||||
Reference in New Issue
Block a user