-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
44 lines (38 loc) · 1.07 KB
/
Cargo.toml
File metadata and controls
44 lines (38 loc) · 1.07 KB
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
[package]
name = "ormatex"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "ormatex"
crate-type = ["cdylib", "rlib"]
path = 'src/lib.rs'
[features]
plotters = ["dep:plotters"]
python = ["dep:pyo3", "dep:numpy", "dep:ndarray", "dep:faer-ext"]
[dependencies]
plotters = {version="0.3.5", optional=true}
thiserror = "1.0"
assert_approx_eq = "1.1.0"
num-traits = "0.2.18"
reborrow = "0.5.5"
rayon = "*"
libm = "0.2.8"
rand = "0.8.5"
rand_distr = "0.4.3"
# faer lin alg
faer = {version = "0.23.2", features=["unstable",]}
faer-traits = "0.23.0"
faer_gmres = "0.4.1"
# python binding deps
pyo3 = {version="=0.26", features = ["extension-module"], optional=true}
numpy = {version="0.26", optional=true}
ndarray = {version=">=0.16", features=["rayon"], optional=true}
faer-ext = {version=">=0.7.1", features=["ndarray"], optional=true}
[tool.maturin]
module-name = "_ormatex"
python-source = "ormatex_py"
profile = "release"
editable-profile = "release"
features = ["python"]
all-features = true