-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
100 lines (88 loc) · 2.76 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[package]
name = "optionstratlib"
version = "0.3.7"
edition = "2024"
authors = ["Joaquin Bejar <[email protected]>"]
description = "OptionStratLib is a comprehensive Rust library for options trading and strategy development across multiple asset classes."
license = "MIT"
readme = "README.md"
repository = "https://github.com/joaquinbejar/OptionStratLib"
homepage = "https://github.com/joaquinbejar/OptionStratLib"
keywords = ["finance", "options", "trading"]
categories = ["finance", "data-structures"]
include = [
"benches/**/*",
"src/**/*",
"Cargo.toml",
"README.md",
"LICENSE",
"examples/**/*.rs",
"tests/**/*.rs",
"Makefile",
"rust-toolchain.toml",
"Draws/**/*.png",
"Docker/**/*.Dockerfile",
"Docker/**/*.yml",
]
[dependencies]
chrono = { version = ">=0.4.39", features = ["wasmbind","serde"] }
approx = "0.5.1"
plotters = { version = "0.3.7" }
plotters-canvas = "0.3.0"
web-sys = { version = "0.3.77", features = ["HtmlCanvasElement"], optional = true }
statrs = "0.18.0"
rand = { version = "0.9.0", optional = true }
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", optional = true }
num-traits = "0.2.19"
serde_json = "1.0.138"
csv = { version = "1.3.1", optional = true }
serde = { version = "1.0.218", features = ["derive"] }
rayon = { version = "1.10.0" }
itertools = "0.14.0"
rust_decimal = { version = "1.36.0", features = ["maths", "serde"] }
rust_decimal_macros = "1.36.0"
[dev-dependencies]
criterion = { version = "0.5.1", default-features = false, features = ["html_reports"] }
wasm-bindgen = { version = "0.2.100" }
wasm-bindgen-test = { version = "0.3.50" }
[[test]]
name = "tests"
path = "tests/unit/mod.rs"
[[bench]]
name = "benches"
path = "benches/mod.rs"
harness = false
[lib]
name = "optionstratlib"
path = "src/lib.rs"
crate-type = ["cdylib", "rlib"]
[workspace]
members = [
"examples/examples_simulation",
"examples/examples_strategies_best",
"examples/examples_strategies_delta",
"examples/examples_strategies",
"examples/examples_visualization",
"examples/examples_chain",
"examples/examples_volatility",
"examples/examples_curves",
"examples/examples_surfaces",
"examples/Local",
]
[workspace.dependencies]
optionstratlib = { path = "." }
tracing = "0.1.41"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
csv = "1.3.1"
tracing-subscriber = "0.3.19"
rand = { version = "0.8.5" }
[target.'cfg(target_arch = "wasm32")'.dependencies]
rand = { version = "0.8.5", features = ["getrandom"] }
getrandom = { version = "0.2", features = ["js"] }
wasm-bindgen = "0.2.98"
console_error_panic_hook = "0.1.7"
web-sys = { version = "0.3", features = ["HtmlCanvasElement"] }
wasm-bindgen-test = "0.3"
chrono = { version = ">=0.4.39", features = ["wasmbind"] }
wasm-bindgen-rayon = "1.3"