getrandom/Cargo.toml

41 lines
1.2 KiB
TOML
Raw Normal View History

2019-01-19 12:56:20 +00:00
[package]
name = "getrandom"
version = "0.1.3"
2019-03-22 20:28:33 +03:00
edition = "2018"
2019-01-19 12:56:20 +00:00
authors = ["The Rand Project Developers"]
2019-02-04 20:57:30 +03:00
license = "MIT OR Apache-2.0"
2019-03-16 15:37:43 +00:00
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"]
2019-01-19 12:56:20 +00:00
2019-02-04 20:57:30 +03:00
[badges]
travis-ci = { repository = "rust-random/getrandom" }
appveyor = { repository = "rust-random/getrandom" }
[workspace]
2019-03-22 20:28:33 +03:00
members = ["tests/wasm_bindgen"]
2019-03-12 17:39:20 +00:00
[dependencies]
log = { version = "0.4", optional = true }
[target.'cfg(any(unix, target_os = "wasi"))'.dependencies]
libc = "0.2.54"
2019-02-05 13:00:43 +03:00
# For holding file descriptors
[target.'cfg(any(unix, target_os = "redox"))'.dependencies]
2019-06-25 12:58:44 -07:00
lazy_static = "1.3.0"
# For caching result of CPUID check for RDRAND
[target.'cfg(any(target_env = "sgx", target_os = "uefi"))'.dependencies]
lazy_static = { version = "1.3.0", features = ["spin_no_std"] }
2019-02-04 20:57:30 +03:00
[target.wasm32-unknown-unknown.dependencies]
wasm-bindgen = { version = "0.2.29", optional = true }
stdweb = { version = "0.4.9", optional = true }
2019-06-25 12:58:44 -07:00
lazy_static = "1.3.0"
2019-03-22 20:28:33 +03:00
[features]
std = []