@@ -27,14 +27,13 @@ bench = false
2727test = true
2828
2929[dependencies ]
30- num-integer = { version = " 0.1.39 " , default-features = false }
31- num-traits = { version = " 0.2 " , default-features = false }
32- num-complex = { version = " 0.4 " , default-features = false }
30+ num-integer = { workspace = true }
31+ num-traits = { workspace = true }
32+ num-complex = { workspace = true }
3333
34+ approx = { workspace = true , optional = true }
3435rayon = { version = " 1.10.0" , optional = true }
3536
36- approx = { version = " 0.5" , optional = true , default-features = false }
37-
3837# Use via the `blas` crate feature
3938cblas-sys = { version = " 0.1.4" , optional = true , default-features = false }
4039libc = { version = " 0.2.82" , optional = true }
@@ -44,11 +43,10 @@ matrixmultiply = { version = "0.3.2", default-features = false, features=["cgemm
4443serde = { version = " 1.0" , optional = true , default-features = false , features = [" alloc" ] }
4544rawpointer = { version = " 0.2" }
4645
47-
4846[dev-dependencies ]
4947defmac = " 0.2"
50- quickcheck = { version = " 1.0 " , default-features = false }
51- approx = " 0.5 "
48+ quickcheck = { workspace = true }
49+ approx = { workspace = true , default-features = true }
5250itertools = { version = " 0.13.0" , default-features = false , features = [" use_std" ] }
5351
5452[features ]
@@ -71,21 +69,14 @@ docs = ["approx", "serde", "rayon"]
7169std = [" num-traits/std" , " matrixmultiply/std" ]
7270rayon = [" dep:rayon" , " std" ]
7371
74- portable-atomic-critical-section = [" portable-atomic/critical-section" ]
75-
7672matrixmultiply-threading = [" matrixmultiply/threading" ]
7773
74+ portable-atomic-critical-section = [" portable-atomic/critical-section" ]
75+
7876[target .'cfg(not(target_has_atomic = "ptr"))' .dependencies ]
7977portable-atomic = { version = " 1.6.0" }
8078portable-atomic-util = { version = " 0.2.0" , features = [ " alloc" ] }
8179
82- [profile .bench ]
83- debug = true
84- [profile .dev .package .numeric-tests ]
85- opt-level = 2
86- [profile .test .package .numeric-tests ]
87- opt-level = 2
88-
8980[workspace ]
9081members = [
9182 " ndarray-rand" ,
@@ -96,9 +87,23 @@ members = [
9687
9788[workspace .dependencies ]
9889ndarray = { path = " ." }
90+ ndarray-rand = { path = " ndarray-rand" }
91+
92+ num-integer = { version = " 0.1.39" , default-features = false }
9993num-traits = { version = " 0.2" , default-features = false }
10094num-complex = { version = " 0.4" , default-features = false }
101- ndarray-rand = { path = " ./ndarray-rand" }
95+ approx = { version = " 0.5" , default-features = false }
96+ quickcheck = { version = " 1.0" , default-features = false }
97+ rand = { version = " 0.8.0" , features = [" small_rng" ] }
98+ rand_distr = { version = " 0.4.0" }
99+
100+ [profile .bench ]
101+ debug = true
102+
103+ [profile .test .package .numeric-tests ]
104+ opt-level = 2
105+ [profile .test .package .blas-tests ]
106+ opt-level = 2
102107
103108[package .metadata .release ]
104109no-dev-version = true
0 commit comments