Cargo Features
[dependencies]
hyperlocal-next = { version = "0.9.0", default-features = false, features = ["client", "server"] }
- default = client
-
The
client
feature is set by default wheneverhyperlocal-next
is added without
somewhere in the dependency tree.default-features = false - client default = http-body-util, tower-service
-
Enables client and http1 of hyper, client-legacy, http1 and tokio of hyper-util
- server
-
Enables http1 and server of hyper, tokio of hyper-util
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.