Cargo Features

[dependencies]
wmjtyd-libstock = { version = "0.4.0-pre.1", default-features = false, features = ["crypto", "message", "nanomsg", "zeromq", "slack", "compat-v0_3"] }
default = crypto, message, slack

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

crypto default

Enables crypto-market-type, crypto-message, and crypto-msg-type

Affects data::orderbook, data::fields, data::order, data::trade, data::bbo, data::kline, data::funding_rate

message default = nanomsg, zeromq
nanomsg message

Enables nanomsg

Affects message::nanomsg

zeromq message

Enables zmq2

Affects message::zeromq

slack default

Enables slack-hook

Affects wmjtyd-libstock::slack

compat-v0_3

<!> Will be removed in the future release!

Affects data::hex