-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
75 lines (66 loc) · 2.02 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "wmjtyd-libstock"
description = "The utilities for operating stocks"
authors = ["pan93412"]
version = "0.4.0-pre.2"
edition = "2021"
readme = "./README.md"
license = "Apache-2.0"
keywords = ["stock", "utility", "wmjtyd"]
repository = "https://github.com/wmjtyd/libstock"
documentation = "https://docs.rs/wmjtyd-libstock"
homepage = "https://github.com/wmjtyd/libstock"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
arrayref = "0.3.6"
bimap = "0.6.2"
chrono = "0.4.22"
concat-string = "1.0.1"
crypto-market-type = { version = "1.1.3", optional = true }
crypto-message = { version = "1.1.13", optional = true }
crypto-msg-type = { version = "1.0.10", optional = true }
derive_builder = "0.11.2"
either = "1.8.0"
flume = "0.10.14"
futures = "0.3.24"
nanomsg = { version = "0.7.2", optional = true }
once_cell = "1.14.0"
rust_decimal = "1.26.1"
slack-hook = { version = "0.8.0", optional = true }
strum = { version = "0.24.1", features = ["derive"] }
thiserror = "1.0.35"
tokio = { version = "1.21.1", features = ["fs", "io-util", "rt"] }
tracing = "0.1.36"
typed-builder = "0.10.0"
uuid = { version = "1.1.2", features = ["v4", "fast-rng"] }
zmq2 = { version = "0.5.0", optional = true }
[features]
default = ["crypto", "message", "slack"]
crypto = ["dep:crypto-msg-type", "dep:crypto-market-type", "dep:crypto-message"]
message = ["nanomsg", "zeromq"]
nanomsg = ["dep:nanomsg"]
zeromq = ["dep:zmq2"]
slack = ["dep:slack-hook"]
# <!> Will be removed in the future release!
compat-v0_3 = []
[dev-dependencies]
anyhow = "1.0.65"
criterion = "0.4.0"
rust_decimal_macros = "1.26.1"
tokio = { version = "1.21.1", features = ["time", "rt", "rt-multi-thread", "macros"] }
tracing-subscriber = "0.3.15"
[[bench]]
name = "bbo_ser_des"
harness = false
[[bench]]
name = "orderbook_ser_des"
harness = false
[[example]]
name = "bbo_serialize"
required-features = ["crypto"]
[[example]]
name = "orderbook_serialize"
required-features = ["crypto"]
[profile.release]
lto = "fat"
codegen-units = 1