]> git.proxmox.com Git - cargo.git/blobdiff - vendor/getrandom/Cargo.toml
New upstream version 0.52.0
[cargo.git] / vendor / getrandom / Cargo.toml
index f03dab6ae967358b6c6a120f895edc22da4a5fc9..786ed0744da2072bf15cb03f8184cfb4db317929 100644 (file)
 [package]
 edition = "2018"
 name = "getrandom"
-version = "0.1.15"
+version = "0.2.2"
 authors = ["The Rand Project Developers"]
-exclude = ["utils/*", ".*", "appveyor.yml"]
+exclude = [".*"]
 description = "A small cross-platform library for retrieving random data from system source"
 documentation = "https://docs.rs/getrandom"
 categories = ["os", "no-std"]
 license = "MIT OR Apache-2.0"
 repository = "https://github.com/rust-random/getrandom"
+[package.metadata.docs.rs]
+features = ["std", "custom"]
+rustdoc-args = ["--cfg", "docsrs"]
 [dependencies.cfg-if]
-version = "0.1.2"
+version = "1"
 
 [dependencies.compiler_builtins]
 version = "0.1"
@@ -33,29 +36,23 @@ version = "1.0"
 optional = true
 package = "rustc-std-workspace-core"
 
-[dependencies.log]
-version = "0.4"
-optional = true
-
 [features]
-dummy = []
-rustc-dep-of-std = ["compiler_builtins", "core"]
+custom = []
+js = ["wasm-bindgen", "js-sys"]
+rdrand = []
+rustc-dep-of-std = ["compiler_builtins", "core", "libc/rustc-dep-of-std"]
 std = []
-test-in-browser = ["wasm-bindgen"]
-[target."cfg(unix)".dependencies.libc]
-version = "0.2.64"
-default-features = false
-[target.wasm32-unknown-unknown.dependencies.stdweb]
-version = "0.4.18"
+test-in-browser = []
+[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.js-sys]
+version = "0.3"
 optional = true
 
-[target.wasm32-unknown-unknown.dependencies.wasm-bindgen]
-version = "0.2.29"
+[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.wasm-bindgen]
+version = "0.2.62"
 optional = true
-[target.wasm32-unknown-unknown.dev-dependencies.wasm-bindgen-test]
-version = "0.2"
-[badges.appveyor]
-repository = "rust-random/getrandom"
-
-[badges.travis-ci]
-repository = "rust-random/getrandom"
+default-features = false
+[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dev-dependencies.wasm-bindgen-test]
+version = "0.3.18"
+[target."cfg(unix)".dependencies.libc]
+version = "0.2.64"
+default-features = false