From c0d1c512aee19e938b4e25d60c9a3b930acfc215 Mon Sep 17 00:00:00 2001 From: sebcrozet Date: Sat, 9 Jun 2018 17:44:19 +0200 Subject: [PATCH] Add the stdweb feature to activate rand/stdweb. --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c6cb98f2..95401bd6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,8 +16,9 @@ name = "nalgebra" path = "src/lib.rs" [features] -default = [ "std" ] -std = [ "matrixmultiply", "rand/std", "alga/std" ] +default = [ "std" ] +std = [ "matrixmultiply", "rand/std", "alga/std" ] +stdweb = [ "rand/stdweb" ] arbitrary = [ "quickcheck" ] serde-serialize = [ "serde", "serde_derive", "num-complex/serde" ] abomonation-serialize = [ "abomonation" ]