forked from rust-ndarray/ndarray
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
81 lines (60 loc) · 1.88 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
[package]
name = "ndarray"
version = "0.13.1"
edition = "2018"
authors = [
"bluss",
"Jim Turner"
]
license = "MIT/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"]
build = "build.rs"
exclude = ["docgen/images/*"]
[lib]
name = "ndarray"
bench = false
test = true
[dependencies]
num-integer = "0.1.39"
num-traits = "0.2"
num-complex = "0.2"
rayon = { version = "1.0.3", optional = true }
approx = { version = "0.3.2", optional = true }
# Use via the `blas` crate feature!
cblas-sys = { version = "0.1.4", optional = true, default-features = false }
blas-src = { version = "0.2.0", optional = true, default-features = false }
matrixmultiply = { version = "0.2.0" }
serde = { version = "1.0", optional = true }
rawpointer = { version = "0.2" }
[dev-dependencies]
defmac = "0.2"
quickcheck = { version = "0.9", default-features = false }
approx = "0.3.2"
itertools = { version = "0.8.0", default-features = false, features = ["use_std"] }
[features]
# Enable blas usage
# See README for more instructions
blas = ["cblas-sys", "blas-src"]
# Old name for the serde feature
serde-1 = ["serde"]
# These features are used for testing
test-blas-openblas-sys = ["blas"]
test = ["test-blas-openblas-sys"]
# This feature is used for docs
docs = ["approx", "serde", "rayon"]
[profile.release]
[profile.bench]
debug = true
[workspace]
members = ["ndarray-rand", "serialization-tests", "blas-tests"]
exclude = ["numeric-tests"]
[package.metadata.release]
no-dev-version = true
tag-name = "{{version}}"
[package.metadata.docs.rs]
features = ["docs"]