diff --git a/src/docker.rs b/src/docker.rs index 194e6dc..b1e2231 100644 --- a/src/docker.rs +++ b/src/docker.rs @@ -70,6 +70,7 @@ pub struct Docker { /// http client client: HyperClient, /// connection protocol + #[allow(dead_code)] protocol: Protocol, /// http headers used for any requests headers: HeaderMap, diff --git a/src/hyper_client.rs b/src/hyper_client.rs index 2fa3e25..c263947 100644 --- a/src/hyper_client.rs +++ b/src/hyper_client.rs @@ -36,6 +36,7 @@ pub struct Response { pub status: StatusCode, buf: Vec, rx: futures::channel::mpsc::UnboundedReceiver, + #[allow(dead_code)] handle: std::thread::JoinHandle<()>, }