Cargo Features

market-maker-rs has no features set by default.

[dependencies]
market-maker-rs = { version = "0.3.0", features = ["serde", "prometheus", "options", "chain", "data-feeds", "api", "persistence", "multi-underlying", "events"] }
serde api? events? multi-underlying?

Enables pretty-simple-display, serde and serde_json, serde of rust_decimal

prometheus

Enables http-body-util, hyper, hyper-util, prometheus, and tokio

Affects analytics::prometheus_export

options chain?

Enables chrono and optionstratlib ^0.13

Affects market-maker-rs::options

chain = options

Enables option-chain-orderbook ^0.1

Affects market-maker-rs::chain

data-feeds

Enables tokio

Affects market-maker-rs::data_feeds

api = serde

Enables axum, tokio, tower-http, and utoipa

Affects market-maker-rs::api

persistence

Enables tokio

Affects market-maker-rs::persistence

multi-underlying = serde

Affects market-maker-rs::multi_underlying

events = serde

Enables tokio

Affects market-maker-rs::events