-
Notifications
You must be signed in to change notification settings - Fork 28
/
Cargo.toml
58 lines (48 loc) · 1.62 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
[package]
name = "rateslib"
version = "1.7.0"
edition = "2021"
exclude = [".github/*", "benches/*", "notebooks/*", ".readthedocs.yaml", "docs/*", "PACKAGING.md"]
[lib]
name = "rateslib"
path = "rust/lib.rs"
#crate-type = ["rlib"]
#crate-type = ["cdylib"] # for pyO3
crate-type = ["lib"]
[[bin]]
name = "main"
path = "rust/main.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
#pyo3 = { version = "0.20.3", features = ["abi3-py39", "extension-module"] }
serde = { version = "1.0", features = ["derive", "rc"] }
chrono = { version = "0.4", features = ["serde"] }
indexmap = { version = "2.0", features = ["serde"] }
ndarray = { version = "0.16", features = ["serde"] }
internment = { version = "0.8", features = ["serde"] }
pyo3 = "0.22"
num-traits = "0.2"
auto_ops = "0.3"
numpy = "0.22"
itertools = "0.12"
statrs = "0.16"
bincode = "1.3"
serde_json = "1.0"
# --- This section should be live in development to use `cargo test --lib --no-default-features`
#[dependencies.pyo3]
#version = "0.21"
[features]
# multiple-pymethods = ["pyo3/multiple-pymethods"]
abi3-py310 = ["pyo3/abi3-py310"]
pyo3-chrono = ["pyo3/chrono"]
pyo3-indexmap = ["pyo3/indexmap"]
default = ["abi3-py310", "pyo3-chrono", "pyo3-indexmap"]
# 'extension-module' has been added to 'features' of [tool.maturin] in pyproject.toml
#extension-module = ["pyo3/extension-module"]
#default = ["extension-module", "abi3-py39", "chrono"]
# ------------- When building commment the below out.
#[dev-dependencies]
#criterion = { version = "0.4", features = ["html_reports"] }
#[[bench]]
#name = "my_benchmark"
#harness = false