[package] name = "getrandom" version = "0.1.8" edition = "2018" authors = ["The Rand Project Developers"] license = "MIT OR Apache-2.0" description = "A small cross-platform library for retrieving random data from system source" documentation = "https://docs.rs/getrandom" repository = "https://github.com/rust-random/getrandom" categories = ["os", "no-std"] exclude = ["utils/*", ".*", "appveyor.yml"] [badges] travis-ci = { repository = "rust-random/getrandom" } appveyor = { repository = "rust-random/getrandom" } [workspace] members = ["tests/wasm_bindgen"] [dependencies] log = { version = "0.4", optional = true } cfg-if = "0.1" # When built as part of libstd compiler_builtins = { version = "0.1", optional = true } core = { version = "1.0", optional = true, package = "rustc-std-workspace-core" } [target.'cfg(any(unix, target_os = "redox", target_os = "wasi"))'.dependencies] libc = { version = "0.2.60", default-features = false } [target.wasm32-unknown-unknown.dependencies] wasm-bindgen = { version = "0.2.29", optional = true } stdweb = { version = "0.4.18", optional = true } [features] std = [] # Unstable feature to support being a libstd dependancy rustc-dep-of-std = ["compiler_builtins", "core"]