You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0432]: unresolved import `crate::client`
--> kube/src/lib.rs:197:46
|
197 |#[allow(unreachable_pub)] pub use crate::client::ConfigExt as _;| ^^^^^^ could not find `client`in the crate root
|
note: found an item that was configured out
--> kube/src/lib.rs:140:26
|
140 | pub use kube_client::client;| ^^^^^^
= note: the item is gated behind the `client` feature
warning: unused import: `crate::client::ConfigExt as _`
--> kube/src/lib.rs:197:39
|
197 |#[allow(unreachable_pub)] pub use crate::client::ConfigExt as _;| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
For more information about this error, try `rustc --explain E0432`.
warning: `kube` (lib) generated 1 warning
error: could not compile `kube` (lib) due to 1 previous error; 1 warning emitted
Possible solution
Add #[cfg(feature = "client")] constraint on #[allow(unreachable_pub)] pub use crate::client::ConfigExt as _;
Current and expected behavior
Problem Situation
cargo build --package kube --no-default-features # no `client` feature
Expected behavior
Current behavior
Possible solution
Add
#[cfg(feature = "client")]
constraint on#[allow(unreachable_pub)] pub use crate::client::ConfigExt as _;
Please see #1549
Additional context
No response
Environment
v0.93
~main#5b3b73d
Configuration and features
Affected crates
No response
Would you like to work on fixing this bug?
yes
The text was updated successfully, but these errors were encountered: