Add the stdweb feature to activate rand/stdweb.

This commit is contained in:
sebcrozet 2018-06-09 17:44:19 +02:00
parent c77199077a
commit c0d1c512ae

View File

@ -16,8 +16,9 @@ name = "nalgebra"
path = "src/lib.rs" path = "src/lib.rs"
[features] [features]
default = [ "std" ] default = [ "std" ]
std = [ "matrixmultiply", "rand/std", "alga/std" ] std = [ "matrixmultiply", "rand/std", "alga/std" ]
stdweb = [ "rand/stdweb" ]
arbitrary = [ "quickcheck" ] arbitrary = [ "quickcheck" ]
serde-serialize = [ "serde", "serde_derive", "num-complex/serde" ] serde-serialize = [ "serde", "serde_derive", "num-complex/serde" ]
abomonation-serialize = [ "abomonation" ] abomonation-serialize = [ "abomonation" ]