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-sha-1/sha-1-fix-metadata.diff

28 lines
700 B

--- sha-1-0.9.2/Cargo.toml 2020-11-03T15:01:40+00:00
+++ sha-1-0.9.2/Cargo.toml 2020-11-05T12:31:19.842614+00:00
@@ -37,9 +37,6 @@
[dependencies.opaque-debug]
version = "0.3"
-[dependencies.sha1-asm]
-version = "0.4"
-optional = true
[dev-dependencies.digest]
version = "0.9"
features = ["dev"]
@@ -48,13 +45,9 @@
version = "0.2"
[features]
-asm = ["sha1-asm", "libc"]
-asm-aarch64 = ["asm"]
default = ["std"]
force-soft = []
std = ["digest/std"]
-[target."cfg(all(target_arch = \"aarch64\", target_os = \"linux\"))".dependencies.libc]
-version = "0.2.80"
-optional = true
+
[target."cfg(any(target_arch = \"x86\", target_arch = \"x86_64\"))".dependencies.cpuid-bool]
version = "0.1"