forked from nautechsystems/nautilus_trader
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
69 lines (62 loc) · 1.37 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
[workspace]
members = [
"common",
"core",
"indicators",
"model",
"persistence",
"pyo3"
]
[workspace.package]
rust-version = "1.68.2"
version = "0.2.0"
edition = "2021"
authors = ["Nautech Systems <info@nautechsystems.io>"]
description = "A high-performance algorithmic trading platform and event-driven backtester"
documentation = "https://docs.nautilustrader.io"
[workspace.dependencies]
chrono = "0.4.22"
log = "0.4.17"
pyo3 = "0.18.2"
pyo3-macros = "0.18.2"
rand = "0.8.5"
rust-fsm = "0.6.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
strum = { version = "0.24.1", features = ["derive"] }
thiserror = "1.0.38"
uuid = { version = "1.2.2", features = ["v4"] }
# dev-dependencies
criterion = "0.4.0"
iai = "0.1"
rstest = "0.16.0"
tempfile = "3.4.0"
# build-dependencies
cbindgen = "0.24.3"
[profile.dev]
opt-level = 0
debug = true
debug-assertions = false # Fails Cython build if true
overflow-checks = true
lto = false
panic = "unwind"
incremental = true
codegen-units = 256
[profile.test]
opt-level = 0
debug = true
debug-assertions = true # Fails Cython build if true (OK for cargo test)
overflow-checks = true
lto = false
panic = "unwind"
incremental = true
codegen-units = 256
[profile.release]
opt-level = 3
debug = false
debug-assertions = false
overflow-checks = false
lto = true
panic = "abort"
incremental = false
codegen-units = 1