diff --git a/examples/admission_controller.rs b/examples/admission_controller.rs index 10b9c6573..801c64028 100644 --- a/examples/admission_controller.rs +++ b/examples/admission_controller.rs @@ -3,9 +3,7 @@ use kube::core::{ admission::{AdmissionRequest, AdmissionResponse, AdmissionReview}, DynamicObject, Resource, ResourceExt, }; - -use kube::runtime::finalizer; -use std::{convert::Infallible, error::Error, str::FromStr}; +use std::{convert::Infallible, error::Error}; use tracing::*; use warp::{reply, Filter, Reply}; diff --git a/kube-client/src/client/body.rs b/kube-client/src/client/body.rs index 90bbfb682..5997218d8 100644 --- a/kube-client/src/client/body.rs +++ b/kube-client/src/client/body.rs @@ -6,9 +6,8 @@ use std::{ }; use bytes::Bytes; -use futures::{stream::Stream, TryStreamExt}; use http_body::{Body as HttpBody, Frame, SizeHint}; -use http_body_util::{combinators::UnsyncBoxBody, BodyExt, BodyStream}; +use http_body_util::{combinators::UnsyncBoxBody, BodyExt}; /// A request body. pub struct Body {