[package]
edition = "2021"
name = "digdigdig3-station"
version = "0.3.21"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Consumer-facing builder over digdigdig3 ExchangeHub. Persistence, cache, replay, cure, orderbook tracker, multiplex, reconnect."
homepage = "https://github.com/ZENG3LD/digdigdig3"
readme = "README.md"
keywords = [
"exchange",
"trading",
"crypto",
"websocket",
"connector",
]
categories = [
"api-bindings",
"asynchronous",
"web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZENG3LD/digdigdig3"
[features]
bar-loader = []
cache = ["dep:lru"]
default = [
"persistence",
"cache",
"multiplex",
"reconnect",
]
full = [
"default",
"orderbook-tracker",
"bar-loader",
"metrics",
"prometheus",
]
metrics = ["dep:metrics"]
minimal = []
multiplex = []
orderbook-tracker = []
persistence = [
"dep:zstd",
"dep:bincode",
"dep:crc32fast",
"dep:sled",
]
prometheus = [
"metrics",
"dep:metrics-exporter-prometheus",
]
reconnect = []
[lib]
name = "digdigdig3_station"
path = "src/lib.rs"
[[example]]
name = "bar_align_e2e"
path = "examples/bar_align_e2e.rs"
[[example]]
name = "bar_align_matrix"
path = "examples/bar_align_matrix.rs"
[[example]]
name = "e2e_canonical"
path = "examples/e2e_canonical.rs"
[[example]]
name = "e2e_replay"
path = "examples/e2e_replay.rs"
[[example]]
name = "e2e_storage_read"
path = "examples/e2e_storage_read.rs"
[[example]]
name = "hl_spot_ws_probe"
path = "examples/hl_spot_ws_probe.rs"
[[example]]
name = "replay_demo"
path = "examples/replay_demo.rs"
[[test]]
name = "bitmex_predicted_funding_live"
path = "tests/bitmex_predicted_funding_live.rs"
[[test]]
name = "bitstamp_l3_live"
path = "tests/bitstamp_l3_live.rs"
[[test]]
name = "blob_persistence"
path = "tests/blob_persistence.rs"
[[test]]
name = "cure"
path = "tests/cure.rs"
[[test]]
name = "data_point_round_trip"
path = "tests/data_point_round_trip.rs"
[[test]]
name = "derived_stream_integration"
path = "tests/derived_stream_integration.rs"
[[test]]
name = "dual_symbol_routing"
path = "tests/dual_symbol_routing.rs"
[[test]]
name = "event_log"
path = "tests/event_log.rs"
[[test]]
name = "gap_heal_e2e"
path = "tests/gap_heal_e2e.rs"
[[test]]
name = "gap_heal_unit"
path = "tests/gap_heal_unit.rs"
[[test]]
name = "label_per_subscriber"
path = "tests/label_per_subscriber.rs"
[[test]]
name = "mlc_scenarios_live"
path = "tests/mlc_scenarios_live.rs"
[[test]]
name = "multiplex"
path = "tests/multiplex.rs"
[[test]]
name = "okx_predicted_funding_live"
path = "tests/okx_predicted_funding_live.rs"
[[test]]
name = "orderbook_tracker"
path = "tests/orderbook_tracker.rs"
[[test]]
name = "polling"
path = "tests/polling.rs"
[[test]]
name = "quota"
path = "tests/quota.rs"
[[test]]
name = "quota_stress"
path = "tests/quota_stress.rs"
[[test]]
name = "replay"
path = "tests/replay.rs"
[[test]]
name = "rest_cache"
path = "tests/rest_cache.rs"
[[test]]
name = "sequence_gap"
path = "tests/sequence_gap.rs"
[[test]]
name = "series_basics"
path = "tests/series_basics.rs"
[[test]]
name = "settings_store"
path = "tests/settings_store.rs"
[[test]]
name = "storage_manager"
path = "tests/storage_manager.rs"
[[test]]
name = "subscribe_not_supported_live"
path = "tests/subscribe_not_supported_live.rs"
[[test]]
name = "subscribe_report"
path = "tests/subscribe_report.rs"
[[test]]
name = "wasm_bar_align"
path = "tests/wasm_bar_align.rs"
[[test]]
name = "wasm_cure_replay"
path = "tests/wasm_cure_replay.rs"
[[test]]
name = "wasm_e2e_matrix"
path = "tests/wasm_e2e_matrix.rs"
[[test]]
name = "wasm_opfs_round_trip"
path = "tests/wasm_opfs_round_trip.rs"
[[test]]
name = "wasm_rest_parity"
path = "tests/wasm_rest_parity.rs"
[[test]]
name = "wasm_settings_store"
path = "tests/wasm_settings_store.rs"
[[test]]
name = "wasm_station_persist"
path = "tests/wasm_station_persist.rs"
[[test]]
name = "wasm_station_smoke"
path = "tests/wasm_station_smoke.rs"
[[test]]
name = "wasm_wave3_e2e"
path = "tests/wasm_wave3_e2e.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.byteorder]
version = "1.5"
[dependencies.chrono]
version = "0.4"
features = [
"std",
"now",
]
default-features = false
[dependencies.dashmap]
version = "5"
[dependencies.digdigdig3]
version = "0.3.21"
[dependencies.futures-util]
version = "0.3"
[dependencies.lru]
version = "0.12"
optional = true
[dependencies.metrics]
version = "0.23"
optional = true
[dependencies.metrics-exporter-prometheus]
version = "0.15"
optional = true
[dependencies.rust_decimal]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "1"
[dependencies.tracing]
version = "0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.bincode]
version = "1.3"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.crc32fast]
version = "1.4"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sled]
version = "0.34"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = ["full"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-stream]
version = "0.1"
features = ["sync"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.zstd]
version = "0.13"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio-test]
version = "0.4"
[target.'cfg(target_arch = "wasm32")'.dependencies.chrono]
version = "0.4"
features = [
"std",
"now",
"wasmbind",
]
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-timers]
version = "0.3"
features = ["futures"]
[target.'cfg(target_arch = "wasm32")'.dependencies.instant]
version = "0.1"
features = ["wasm-bindgen"]
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
version = "1"
features = [
"sync",
"macros",
]
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.tokio-stream]
version = "0.1"
features = ["sync"]
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
"Window",
"Navigator",
"StorageManager",
"FileSystemDirectoryHandle",
"FileSystemFileHandle",
"FileSystemWritableFileStream",
"FileSystemGetFileOptions",
"FileSystemGetDirectoryOptions",
"FileSystemCreateWritableOptions",
"WriteParams",
"WriteCommandType",
"File",
"console",
]
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"