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
We currently have a "private" __config feature in kube to track the config related dependencies.
I would like to expose this properly so that people can use kube with only the config feature to deal with kubeconfig related parsing.
This would require:
having checks for #[cfg(feature = "config") for the config module
having config feature depend on internal __non_core feature
having checks for #[cfg(feature = "config") or #[cfg(feature = "client") (or possibly feature = __non_core?) for overlapping deps
having the error enum be more feature flagged (currently entire module is gated on client feature)
a small test example that parser kubeconfig without features (needs some feature-re-export hackery in examples/Cargo.toml, plus a circleci test line)
You should not be able to get the client feature without the config feature (already ensured by having __config feature listed as a dependency of the client feature), but the other way around should work.
The text was updated successfully, but these errors were encountered:
We currently have a "private"
__config
feature inkube
to track the config related dependencies.I would like to expose this properly so that people can use
kube
with only theconfig
feature to deal with kubeconfig related parsing.This would require:
#[cfg(feature = "config")
for theconfig
moduleconfig
feature depend on internal__non_core
feature#[cfg(feature = "config")
or#[cfg(feature = "client")
(or possiblyfeature = __non_core
?) for overlapping depsclient
feature)You should not be able to get the
client
feature without theconfig
feature (already ensured by having__config
feature listed as a dependency of theclient
feature), but the other way around should work.The text was updated successfully, but these errors were encountered: