From 35b30fc0e4578ce3d6cdea6038837d43b6502fb4 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Fri, 4 Jan 2019 22:40:28 +0100 Subject: [PATCH] Add stdweb as a default feature --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5e02bccd621..8953feb778a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ travis-ci = { repository = "rust-random/rand" } appveyor = { repository = "rust-random/rand" } [features] -default = ["std", "rand_os"] # without "std" rand uses libcore +default = ["std", "rand_os", "stdweb"] # without "std" rand uses libcore nightly = ["simd_support"] # enables all features requiring nightly rust std = ["rand_core/std", "alloc", "rand_os"] alloc = ["rand_core/alloc"] # enables Vec and Box support (without std)