Skip to content

Commit 6a2e104

Browse files
authored
Make rand_distr optional (#161)
1 parent 436da10 commit 6a2e104

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ categories = ["science"]
1616
default = ["datasets"]
1717
ndarray-bindings = ["ndarray"]
1818
nalgebra-bindings = ["nalgebra"]
19-
datasets = []
19+
datasets = ["rand_distr"]
2020
fp_bench = ["itertools"]
2121

2222
[dependencies]
@@ -25,7 +25,7 @@ nalgebra = { version = "0.31", optional = true }
2525
num-traits = "0.2"
2626
num = "0.4"
2727
rand = "0.8"
28-
rand_distr = "0.4"
28+
rand_distr = { version = "0.4", optional = true }
2929
serde = { version = "1", features = ["derive"], optional = true }
3030
itertools = { version = "0.10.3", optional = true }
3131

0 commit comments

Comments
 (0)