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

71 lines
1.2 KiB

--- ahash-0.8.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ ahash-0.8.2/Cargo.toml 2022-12-15T18:26:53.700618+00:00
@@ -48,24 +48,6 @@
]
features = ["std"]
-[profile.bench]
-opt-level = 3
-lto = "fat"
-codegen-units = 1
-debug = false
-debug-assertions = false
-
-[profile.release]
-opt-level = 3
-lto = "fat"
-codegen-units = 1
-debug = false
-debug-assertions = false
-
-[profile.test]
-opt-level = 2
-lto = "fat"
-
[lib]
name = "ahash"
path = "src/lib.rs"
@@ -73,20 +55,6 @@
doctest = true
bench = true
doc = true
-
-[[bench]]
-name = "ahash"
-path = "tests/bench.rs"
-harness = false
-
-[[bench]]
-name = "map"
-path = "tests/map_tests.rs"
-harness = false
-
-[dependencies.atomic-polyfill]
-version = "1.0.1"
-optional = true
[dependencies.cfg-if]
version = "1.0"
@@ -102,10 +70,6 @@
[dependencies.serde]
version = "1.0.117"
optional = true
-
-[dev-dependencies.criterion]
-version = "0.3.2"
-features = ["html_reports"]
[dev-dependencies.fnv]
version = "1.0.5"
@@ -135,10 +99,6 @@
version = "0.9.4"
[features]
-atomic-polyfill = [
- "dep:atomic-polyfill",
- "once_cell/atomic-polyfill",
-]
compile-time-rng = ["const-random"]
default = [
"std",