Cargo Features

[dependencies]
hftbacktest = { version = "0.4.0", default-features = false, features = ["backtest", "live", "use_reqwest", "binancefutures", "bybit", "unstable_fuse"] }
default = backtest, binancefutures, bybit, live

These default features are set whenever hftbacktest is added without default-features = false somewhere in the dependency tree.

backtest default = hftbacktest-derive, nom, uuid, zip

Affects hftbacktest::backtest

live default = chrono, futures-util, tokio

Affects hftbacktest::connector, hftbacktest::live

use_reqwest binancefutures bybit = reqwest
binancefutures default = hmac, rand, serde, serde_json, sha2, tokio-tungstenite, use_reqwest

Affects connector::binancefutures

bybit default = hmac, rand, serde, serde_json, sha2, tokio-tungstenite, use_reqwest

Affects connector::bybit

unstable_fuse

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.

chrono live
serde binancefutures bybit
serde_json binancefutures bybit
tokio live
tokio-tungstenite binancefutures bybit

Enables tokio-tungstenite ^0.23.1

reqwest use_reqwest?
zip backtest
futures-util live
sha2 binancefutures bybit
hmac binancefutures bybit
rand binancefutures bybit
uuid backtest
nom backtest
hftbacktest-derive backtest