Cargo Features
hyper-util-wasm has no features set by default.
[dependencies]
hyper-util-wasm = { version = "0.1.7", features = ["full", "client", "client-legacy", "server", "server-auto", "server-graceful", "service", "http1", "http2", "tokio"] }
- full = client, client-legacy, http1, http2, server, server-auto, server-graceful, service, tokio
-
Shorthand to enable everything
- client client-legacy? full?
-
Enables futures-channel, tower ^0.4.1, tower-service, and tracing and client of hyper
hyper:
Client/Server
Affects
hyper-util-wasm::client
… - client-legacy full? = client
-
Affects
client::legacy
… - server full? server-auto? server-graceful?
-
Affects
hyper-util-wasm::server
… - server-auto full? = http1, http2, server
- server-graceful full? = server
-
Affects
server::graceful
… - service full?
-
Enables tower ^0.4.1 and tower-service
Affects
hyper-util-wasm::service
… - http1 full? server-auto?
-
hyper:
HTTP versions
Affects
auto::Http1Builder
,conn::auto
… - http2 full? server-auto?
-
Affects
auto::HttpServerConnExec
,auto::Http2Builder
,conn::auto
… - tokio full? server-graceful?
-
Affects
connect::dns
,rt::tokio
…