Skip to content

Runtime/Reactor Question #589

Answered by clux
webern asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, yeah. Just because a function is not marked as async does not mean they don't necessarily do async stuf under the hood.
In particular, Client::try_from(config), sets up all the layers that's basically using things from hyper, tower, tower-http, and binds async handlers internally (which is probably where it's failing here).

It's probably not a good idea to try this crate without an executor. I think without all the default-features, and possibly only using the config feature, you could maybe do something, but almost certainly nothing to do with the client.

kube builds on almost all the core crates within tokio, and while there are some compatibility layers within async-std that they h…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by webern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants