forked from cxzheng/sprsolve
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (36 loc) · 1009 Bytes
/
Cargo.toml
File metadata and controls
47 lines (36 loc) · 1009 Bytes
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
[package]
name = "sprsolve"
version = "0.1.4"
authors = ["Changxi Zheng <cxz@cs.columbia.edu>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["mkl", "parallel"]
mkl = ["mkl-sys"]
parallel = ["rayon"] # use rayon for parallel computing
[dependencies]
thiserror = "1.0.22"
num-traits = "0.2.14"
num-complex = "0.3.1"
cauchy = "0.3.0"
sprs = { git = "https://github.com/cxzheng/sprs.git", default-features = false }
rayon = { version = "1.5.0", optional = true }
[dependencies.mkl-sys]
git = "https://github.com/cxzheng/mkl-sys.git"
#default-features = false
#features = ["mkl-static-lp64-iomp"]
optional = true
[profile.release]
debug = true # for performance opt
[dev-dependencies]
approx = "0.4.0"
criterion = { version = "0.3.3", features = ['real_blackbox'] }
[[bench]]
name = "bicgstab"
harness = false
[[bench]]
name = "mat_vec_mul"
harness = false
[[bench]]
name = "mkl_bicgstab"
harness = false