Cargo Features

rand_os has no features set by default.

[dependencies]
rand_os = { version = "0.2.2", features = ["log", "wasm-bindgen", "stdweb"] }
log

Enables log of getrandom ^0.1.1

wasm-bindgen

re-export optional WASM dependencies to avoid breakage:

Enables wasm-bindgen of getrandom ^0.1.1

stdweb

Enables stdweb of getrandom ^0.1.1