Skip to content

Commit 0cb6604

Browse files
committed
bump rand_distr and remove obsolete small_rng features
Signed-off-by: Andrei Gherghescu <8067229+andrei-ng@users.noreply.github.com>
1 parent 64f62f5 commit 0cb6604

File tree

6 files changed

+10
-13
lines changed

6 files changed

+10
-13
lines changed

examples/3d_charts/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ edition = "2021"
66

77
[dependencies]
88
ndarray = "0.17"
9-
rand = "0.9"
9+
rand = "0.10"
1010
plotly = { path = "../../plotly" }
1111
plotly_utils = { path = "../plotly_utils" }

examples/3d_charts/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use plotly::{
88
Mesh3D, Plot, Scatter3D, Surface,
99
};
1010
use plotly_utils::write_example_to_html;
11-
use rand::Rng;
11+
use rand::RngExt;
1212

1313
// 3D Scatter Plots
1414
// ANCHOR: simple_scatter3d_plot

examples/basic_charts/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ edition = "2021"
88
ndarray = "0.17"
99
plotly = { path = "../../plotly" }
1010
plotly_utils = { path = "../plotly_utils" }
11-
rand = "0.9"
12-
rand_distr = "0.5"
11+
rand = "0.10"
12+
rand_distr = "0.6"
1313
csv = "1.3"

examples/shapes/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ edition = "2021"
88
ndarray = "0.17"
99
plotly = { path = "../../plotly" }
1010
plotly_utils = { path = "../plotly_utils" }
11-
rand = "0.9"
12-
rand_distr = "0.5"
11+
rand = "0.10"
12+
rand_distr = "0.6"

examples/statistical_charts/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ edition = "2021"
88
ndarray = "0.17"
99
plotly = { path = "../../plotly" }
1010
plotly_utils = { path = "../plotly_utils" }
11-
rand = "0.9"
12-
rand_distr = "0.5"
11+
rand = "0.10"
12+
rand_distr = "0.6"

plotly/Cargo.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,7 @@ serde = { version = "1.0", features = ["derive"] }
6969
serde_json = "1.0"
7070
serde_repr = "0.1"
7171
serde_with = ">=2, <4"
72-
rand = { version = "0.10", default-features = false, features = [
73-
"small_rng",
74-
"alloc",
75-
] }
72+
rand = { version = "0.10", default-features = false, features = ["alloc"] }
7673
async-trait = { version = "0.1", optional = true }
7774

7875
[target.'cfg(target_arch = "wasm32")'.dependencies]
@@ -92,5 +89,5 @@ itertools = ">=0.10, <0.15"
9289
itertools-num = "0.1"
9390
ndarray = "0.17"
9491
plotly_static = { path = "../plotly_static" }
95-
rand_distr = "0.5"
92+
rand_distr = "0.6"
9693
base64 = "0.22"

0 commit comments

Comments
 (0)