diff --git a/kube/src/lib.rs b/kube/src/lib.rs index 2faa92c2e..ad68dbff7 100644 --- a/kube/src/lib.rs +++ b/kube/src/lib.rs @@ -194,7 +194,7 @@ pub mod prelude { //! //! The prelude may grow over time as additional items see ubiquitous use. - #[allow(unreachable_pub)] pub use crate::client::ConfigExt as _; + #[cfg(feature = "client")] #[allow(unreachable_pub)] pub use crate::client::ConfigExt as _; #[cfg(feature = "unstable-client")] pub use crate::client::scope::NamespacedRef;