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 on mio. And mio only supports the wasm-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.
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
netwhich relies onmio. And mio only supports thewasm-wasi(there are OS socket after all)While
socket2is not actually mandatory for the tokio feature itself but clien-legacy in hyper_util.PS: Would be nice to enable
resolver = "2"as well.