You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-rand/rand-0.5.3-fix-metadata.diff

35 lines
1.1 KiB

--- rand-0.5.3/Cargo.toml 1969-12-31T16:00:00-08:00
+++ rand-0.5.3/Cargo.toml 2018-06-30T16:50:36.060662-07:00
@@ -22,6 +22,7 @@
categories = ["algorithms", "no-std"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-lang-nursery/rand"
+exclude = ["utils"]
[package.metadata.docs.rs]
all-features = true
[dependencies.log]
@@ -48,22 +49,9 @@
i128_support = []
nightly = ["i128_support"]
serde1 = ["serde", "serde_derive", "rand_core/serde1"]
-std = ["rand_core/std", "alloc", "libc", "winapi", "cloudabi", "fuchsia-zircon"]
-[target."cfg(target_os = \"cloudabi\")".dependencies.cloudabi]
-version = "0.0.3"
-optional = true
-[target."cfg(target_os = \"fuchsia\")".dependencies.fuchsia-zircon]
-version = "0.3.2"
-optional = true
+std = ["rand_core/std", "alloc", "libc"]
[target."cfg(unix)".dependencies.libc]
version = "0.2"
-optional = true
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["minwindef", "ntsecapi", "profileapi", "winnt"]
-optional = true
-[target.wasm32-unknown-unknown.dependencies.stdweb]
-version = "0.4"
optional = true
[badges.appveyor]
repository = "alexcrichton/rand"