Cargo Features
okx-rs has no features set by default.
[dependencies]
okx-rs = { version = "0.1.1", features = ["vip", "simd", "websocket", "example", "orderbook"] }
- default
-
These default features are set whenever
okx-rs
is added without
somewhere in the dependency tree.default-features = false Enables log
- vip
- simd
-
Enables simd-json ^0.13.4
- websocket example?
-
Enables tungstenite ^0.20.1
- example = websocket
-
Enables env_logger ^0.10.0 and tokio
tokio:
optional
Affects
v5::testkit
… - orderbook
-
Enables rust_decimal
Affects
okx-rs::book
…