forked from rust-ndarray/ndarray
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
87 lines (63 loc) · 2.21 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
[package]
name = "ndarray"
version = "0.15.3"
edition = "2018"
authors = [
"Ulrik Sverdrup \"bluss\"",
"Jim Turner"
]
license = "MIT OR Apache-2.0"
readme = "README-crates.io.md"
repository = "https://github.com/rust-ndarray/ndarray"
documentation = "https://docs.rs/ndarray/"
description = "An n-dimensional array for general elements and for numerics. Lightweight array views and slicing; views support chunking and splitting."
keywords = ["array", "data-structure", "multidimensional", "matrix", "blas"]
categories = ["data-structures", "science"]
exclude = ["docgen/images/*"]
[lib]
name = "ndarray"
bench = false
test = true
[dependencies]
num-integer = { version = "0.1.39", default-features = false }
num-traits = { version = "0.2", default-features = false }
num-complex = { version = "0.4", default-features = false }
# Use via the `rayon` crate feature!
rayon_ = { version = "1.0.3", optional = true, package = "rayon" }
approx = { version = "0.4", optional = true , default-features = false }
# Use via the `blas` crate feature!
cblas-sys = { version = "0.1.4", optional = true, default-features = false }
libc = { version = "0.2.82", optional = true }
matrixmultiply = { version = "0.3.0", default-features = false}
serde = { version = "1.0", optional = true, default-features = false, features = ["alloc"] }
rawpointer = { version = "0.2" }
[dev-dependencies]
defmac = "0.2"
quickcheck = { version = "0.9", default-features = false }
approx = "0.4"
itertools = { version = "0.10.0", default-features = false, features = ["use_std"] }
[features]
default = ["std"]
# Enable blas usage
# See README for more instructions
blas = ["cblas-sys", "libc"]
# Old name for the serde feature
serde-1 = ["serde"]
# These features are used for testing
test = []
# This feature is used for docs
docs = ["approx", "serde", "rayon"]
std = ["num-traits/std", "matrixmultiply/std"]
rayon = ["rayon_", "std"]
matrixmultiply-threading = ["matrixmultiply/threading"]
[profile.release]
[profile.bench]
debug = true
[workspace]
members = ["ndarray-rand", "xtest-serialization", "xtest-blas"]
exclude = ["xtest-numeric"]
[package.metadata.release]
no-dev-version = true
tag-name = "{{version}}"
[package.metadata.docs.rs]
features = ["docs"]