From e27ff8ce4eea0234f8d656a347aa059b19a3877b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Crozet=20S=C3=A9bastien?= Date: Mon, 1 Mar 2021 10:02:22 +0100 Subject: [PATCH] Fix wasm compilation. --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 67747f33..5238cd33 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,13 +44,14 @@ slow-tests = [] typenum = "1.12" generic-array = "0.14" rand = { version = "0.8", default-features = false } +getrandom = { version = "0.2", default-features = false, features = [ "js" ] } # For wasm num-traits = { version = "0.2", default-features = false } num-complex = { version = "0.3", default-features = false } num-rational = { version = "0.3", default-features = false } approx = { version = "0.4", default-features = false } simba = { version = "0.4", default-features = false } alga = { version = "0.9", default-features = false, optional = true } -rand_distr = { version = "0.4", optional = true } +rand_distr = { version = "0.4", default-features = false, optional = true } matrixmultiply = { version = "0.3", optional = true } serde = { version = "1.0", default-features = false, features = [ "derive" ], optional = true } abomonation = { version = "0.7", optional = true }