[package] name = "getrandom" version = "0.1.0" authors = ["The Rand Project Developers"] license = "MIT OR Apache-2.0" description = "A small cross-platform library to securely get random data (entropy)" [badges] travis-ci = { repository = "rust-random/getrandom" } appveyor = { repository = "rust-random/getrandom" } [workspace] members = [ "tests/wasm_bindgen", ] [dependencies] log = { version = "0.4", optional = true } [target.'cfg(unix)'.dependencies] # In general, we need at least 0.2.27. On Solaris, we need some unknown newer version. libc = "0.2.50" [target.'cfg(windows)'.dependencies] winapi = { version = "0.3.6", features = ["minwindef", "ntsecapi", "winnt"] } [target.'cfg(target_os = "cloudabi")'.dependencies] cloudabi = "0.0.3" [target.'cfg(fuchsia)'.dependencies] fuchsia-cprng = "0.1" [target.wasm32-unknown-unknown.dependencies] wasm-bindgen = { version = "0.2.29", optional = true } stdweb = { version = "0.4.9", optional = true }