Cargo Features
[dependencies]
hyperlocal = { version = "0.9.1", default-features = false, features = ["client", "server"] }
- default = client, server
-
These default features are set whenever
hyperlocal
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 default
-
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.