Cargo Features
[dependencies]
ohttp-relay = { version = "0.0.8", default-features = false, features = ["bootstrap", "connect-bootstrap", "ws-bootstrap"] }
- default = bootstrap
-
The
bootstrap
feature is set by default wheneverohttp-relay
is added without
somewhere in the dependency tree.default-features = false - bootstrap default = connect-bootstrap, ws-bootstrap
- connect-bootstrap bootstrap
-
Affects
bootstrap::connect
,ohttp-relay::bootstrap
… - ws-bootstrap bootstrap = futures, hyper-tungstenite, rustls, tokio-tungstenite
-
Affects
bootstrap::ws
,ohttp-relay::bootstrap
…
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.