-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathCargo.toml
61 lines (55 loc) · 1.55 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
[package]
name = "dingir-exchange"
version = "0.1.0"
authors = ["lispczz <mycinbrin@gmail.com>"]
edition = "2018"
[dependencies]
log = "0.4.14"
env_logger = "0.8.3"
config_rs = { package = "config", version = "0.10.1" }
serde = { version = "1.0.124", features = ["derive"] }
serde_json = "1.0.64"
prost = "0.7.0"
prost-types = "0.7.0"
bytes = "1.0.1"
futures-core = { version = "0.3.13", default-features = false }
futures-channel = "0.3.13"
futures-util = { version = "0.3.13", default-features = false }
tokio = { version = "1.3.0", features = ["full"] }
thread-id = "3.3.0"
futures = "0.3.13"
hyper = "0.14.4"
crossbeam-channel = "0.5.0"
rdkafka = { version = "0.25.0", features = ["cmake-build"] }
nix = "0.20.0"
anyhow = "1.0.38"
sqlx = { version = "0.5.1", features = ["runtime-tokio-rustls", "postgres", "chrono", "decimal", "json", "migrate" ] }
chrono = { version = "0.4.19", features = ["serde"] }
rust_decimal = { version = "1.10.3", features = ["postgres", "bytes", "byteorder"] }
rust_decimal_macros = "1.10.3"
humantime-serde = "1.0.1"
ttl_cache = "0.5.1"
itertools = "0.10.0"
dotenv = "0.15.0"
num_enum = "0.5.1"
tonic = "0.4.0"
actix-web = "4.0.0-beta.4"
actix-rt = "2.1.0"
qstring = "0.7.2"
thiserror = "1.0.24"
rand = "0.8.3"
[build-dependencies]
prost = "0.7.0"
tonic-build = "0.4.0"
[[bin]]
name = "restapi"
path = "src/bin/restapi.rs"
[[bin]]
name = "matchengine"
path = "src/bin/matchengine.rs"
[features]
windows_build = ["rdkafka/dynamic_linking"]
verbose_trade = []
default = []
#default = ["windows_build"]
#default = ["windows_build", "verbose_trade"]