-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Implicit use of tokio::net
#141
Comments
I'm open to the idea of making changes to enable easier usage in a WASM context. What would that entail?
That only affects the project you're currently building. Having it set on |
I believe for WASM support we should target as for the resolver, yes, you are right. features only show on the first occurrence of a given dependency in |
And btw Not sure if And wasm-bindgen doesn't support the target as well :/ |
Seems that the features is enabled by hyper_util but it's not enabled on this crate even though it's being used.
I was exploring the option to make wiremock wasm-unknown-unknown happy but sadly hyper_util doesn't allow it because it relies on tokio
net
which relies onmio
. And mio only supports thewasm-wasi
(there are OS socket after all)While
socket2
is not actually mandatory for the tokio feature itself but clien-legacy in hyper_util.PS: Would be nice to enable
resolver = "2"
as well.The text was updated successfully, but these errors were encountered: