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 whenever ohttp-relay is added without default-features = false somewhere in the dependency tree.

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.

futures ws-bootstrap?
hyper-tungstenite ws-bootstrap?
rustls ws-bootstrap?

Enables rustls ^0.22

tokio-tungstenite ws-bootstrap?