Cargo Features
[dependencies]
via = { version = "2.0.0-beta.7", default-features = false, features = ["http1", "http2", "rustls"] }
- default = http1
-
The
http1
feature is set by default whenevervia
is added without
somewhere in the dependency tree.default-features = false - http1 default
-
hyper:
HTTP versions
- http2
- rustls
-
Enables tokio-rustls
Affects
acceptor::rustls
…