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-08-05 09:02:19 +00:00
version = "0.1.8"
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 }
2019-07-05 08:47:51 -07:00
cfg-if = "0.1"
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-07-04 08:29:48 -07:00
[target.'cfg(any(unix, target_os = "redox", target_os = "wasi"))'.dependencies]
libc = { version = "0.2.60", 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]
wasi = "0.5"
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
[features]
std = []
2019-08-08 14:31:41 +00:00
# enables dummy implementation for unsupported targets
dummy = []
2019-08-06 03:08:16 -07:00
# Unstable feature to support being a libstd dependancy
rustc-dep-of-std = ["compiler_builtins", "core"]