Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate kube-derive Dependency on kube #516

Closed
kflansburg opened this issue May 16, 2021 · 0 comments · Fixed by #517
Closed

Eliminate kube-derive Dependency on kube #516

kflansburg opened this issue May 16, 2021 · 0 comments · Fixed by #517
Labels
api Api abstraction related

Comments

@kflansburg
Copy link
Contributor

It would be nice to be able to use types generated by kube-derive, without having to pull in all of the dependencies of kube. In particular, I'm trying to use these types in a WASM target, and the dependency on hyper and socket2 prevents compilation: rust-lang/socket2#200

Would it be possible to pull the necessary traits and types (Resource, ApiResource, ObjectMeta) into a new crate which doesn't have the hyper dependency, and which kube can re-export from?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Api abstraction related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants