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 default-features = false somewhere in the dependency tree.

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