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

55 lines
909 B

--- ahash-0.8.3/Cargo.toml 1970-01-01T00:00:01+00:00
+++ ahash-0.8.3/Cargo.toml 2023-02-21T12:39:50.969193+00:00
@@ -48,22 +48,10 @@
]
features = ["std"]
-[profile.bench]
-opt-level = 3
+[profile.release]
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]
@@ -73,16 +61,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"
@@ -102,10 +80,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"