getrandom/Cargo.toml

44 lines
1.3 KiB
TOML
Raw Normal View History

2019-01-19 12:56:20 +00:00
[package]
name = "getrandom"
2019-09-06 12:01:01 +00:00
version = "0.1.12"
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" }
2019-03-12 17:39:20 +00:00
[dependencies]
log = { version = "0.4", optional = true }
cfg-if = "0.1.2"
2019-03-12 17:39:20 +00:00
2019-08-06 03:08:16 -07:00
# When built as part of libstd
compiler_builtins = { version = "0.1", optional = true }
core = { version = "1.0", optional = true, package = "rustc-std-workspace-core" }
2019-10-23 09:35:50 +00:00
[target.'cfg(unix)'.dependencies]
libc = { version = "0.2.64", default-features = false }
2019-02-05 13:00:43 +03:00
2019-08-08 08:02:19 +00:00
[target.'cfg(target_os = "wasi")'.dependencies]
2019-08-31 14:32:18 +00:00
wasi = "0.7"
2019-08-08 08:02:19 +00:00
2019-02-04 20:57:30 +03:00
[target.wasm32-unknown-unknown.dependencies]
wasm-bindgen = { version = "0.2.29", optional = true }
2019-07-28 01:07:07 -07:00
stdweb = { version = "0.4.18", optional = true }
2019-03-22 20:28:33 +03:00
[target.wasm32-unknown-unknown.dev-dependencies]
wasm-bindgen-test = "0.2"
2019-03-22 20:28:33 +03:00
[features]
std = []
2019-08-14 13:55:27 +00:00
# Unstable feature to support being a libstd dependency
2019-08-06 03:08:16 -07:00
rustc-dep-of-std = ["compiler_builtins", "core"]
# Unstable feature for testing
test-in-browser = ["wasm-bindgen"]