Cargo Features
[dependencies]
binance_spot_connector_rust = { version = "1.3.0", default-features = false, features = ["full", "enable-hyper", "enable-ureq", "enable-tungstenite", "enable-tokio-tungstenite"] }
- default = enable-tungstenite, enable-ureq
-
These default features are set whenever
binance_spot_connector_rust
is added without
somewhere in the dependency tree.default-features = false - full = enable-hyper, enable-tokio-tungstenite, enable-tungstenite, enable-ureq
- enable-hyper full? = futures-util, hyper, hyper-tls, serde_json, tokio
-
Affects
binance_spot_connector_rust::hyper
… - enable-ureq default full? = serde_json, ureq
-
Affects
binance_spot_connector_rust::ureq
… - enable-tungstenite default full? = tungstenite
-
Affects
binance_spot_connector_rust::tungstenite
… - enable-tokio-tungstenite full? = futures-util, tokio, tokio-tungstenite
-
Affects
binance_spot_connector_rust::tokio_tungstenite
…
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.
- ureq enable-ureq
-
Enables ureq
enable-ureq
- hyper enable-hyper?
-
Enables hyper ^0.14.16
enable-hyper
- serde_json enable-hyper? enable-ureq
- hyper-tls enable-hyper?
-
Enables hyper-tls ^0.5.0
- futures-util enable-hyper? enable-tokio-tungstenite?
- tokio enable-hyper? enable-tokio-tungstenite?
- tungstenite enable-tungstenite
-
Enables tungstenite ^0.23.0
enable-tungstenite
- tokio-tungstenite enable-tokio-tungstenite?
-
Enables tokio-tungstenite ^0.23.1
enable-tokio-tungstenite