File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ ndarray = { version = "0.15", optional = true }
2626num-traits = " 0.2.12"
2727num = " 0.4"
2828rand = { version = " 0.8.5" , default-features = false , features = [" small_rng" ] }
29- getrandom = { version = " *" , features = [ " js " ] }
29+ getrandom = " *"
3030rand_distr = { version = " 0.4" , optional = true }
3131serde = { version = " 1" , features = [" derive" ], optional = true }
3232
@@ -36,6 +36,8 @@ serde = ["dep:serde"]
3636ndarray-bindings = [" dep:ndarray" ]
3737datasets = [" dep:rand_distr" , " std_rand" , " serde" ]
3838std_rand = [" rand/std_rng" , " rand/std" ]
39+ # used by wasm32-unknown-unknown
40+ js = [" getrandom/js" ]
3941
4042[target .'cfg(target_arch = "wasm32")' .dependencies ]
4143getrandom = { version = " 0.2" , optional = true }
You can’t perform that action at this time.
0 commit comments