rust-rand-0.4: New package.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Stefan Schantl
2022-01-31 12:58:01 +01:00
committed by Michael Tremer
parent 78914c7379
commit 90b6ebe8f8
4 changed files with 141 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
--- rand-0.4.6/Cargo.toml.orig 2022-01-28 14:06:03.486357507 +0000
+++ rand-0.4.6/Cargo.toml 2022-01-28 14:06:19.606044332 +0000
@@ -25,15 +25,5 @@
[target.'cfg(unix)'.dependencies]
libc = { version = "0.2", optional = true }
-[target.'cfg(windows)'.dependencies]
-winapi = { version = "0.3", features = ["minwindef", "ntsecapi", "profileapi", "winnt"] }
-
[workspace]
members = ["rand-derive"]
-
-[target.'cfg(target_os = "fuchsia")'.dependencies]
-fuchsia-cprng = "0.1.0"
-
-[target.'cfg(target_env = "sgx")'.dependencies]
-rdrand = "0.4.0"
-rand_core = { version = "0.3", default-features = false }