1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2018" 14rust-version = "1.60.0" 15name = "ahash" 16version = "0.8.11" 17authors = ["Tom Kaitchuck <[email protected]>"] 18build = "./build.rs" 19exclude = [ 20 "/smhasher", 21 "/benchmark_tools", 22] 23description = "A non-cryptographic hash function using AES-NI for high performance" 24documentation = "https://docs.rs/ahash" 25readme = "README.md" 26keywords = [ 27 "hash", 28 "hasher", 29 "hashmap", 30 "aes", 31 "no-std", 32] 33categories = [ 34 "algorithms", 35 "data-structures", 36 "no-std", 37] 38license = "MIT OR Apache-2.0" 39repository = "https://github.com/tkaitchuck/ahash" 40 41[package.metadata.docs.rs] 42features = ["std"] 43rustc-args = [ 44 "-C", 45 "target-feature=+aes", 46] 47rustdoc-args = [ 48 "-C", 49 "target-feature=+aes", 50] 51 52[profile.bench] 53opt-level = 3 54lto = "fat" 55codegen-units = 1 56debug = 0 57debug-assertions = false 58 59[profile.release] 60opt-level = 3 61lto = "fat" 62codegen-units = 1 63debug = 0 64debug-assertions = false 65 66[profile.test] 67opt-level = 2 68lto = "fat" 69 70[lib] 71name = "ahash" 72path = "src/lib.rs" 73test = true 74doctest = true 75bench = true 76doc = true 77 78[[bench]] 79name = "ahash" 80path = "tests/bench.rs" 81harness = false 82 83[[bench]] 84name = "map" 85path = "tests/map_tests.rs" 86harness = false 87 88[dependencies.atomic-polyfill] 89version = "1.0.1" 90optional = true 91 92[dependencies.cfg-if] 93version = "1.0" 94 95[dependencies.const-random] 96version = "0.1.17" 97optional = true 98 99[dependencies.getrandom] 100version = "0.2.7" 101optional = true 102 103[dependencies.serde] 104version = "1.0.117" 105optional = true 106 107[dependencies.zerocopy] 108version = "0.7.31" 109features = ["simd"] 110default-features = false 111 112[dev-dependencies.criterion] 113version = "0.3.2" 114features = ["html_reports"] 115 116[dev-dependencies.fnv] 117version = "1.0.5" 118 119[dev-dependencies.fxhash] 120version = "0.2.1" 121 122[dev-dependencies.hashbrown] 123version = "0.14.3" 124 125[dev-dependencies.hex] 126version = "0.4.2" 127 128[dev-dependencies.no-panic] 129version = "0.1.10" 130 131[dev-dependencies.pcg-mwc] 132version = "0.2.1" 133 134[dev-dependencies.rand] 135version = "0.8.5" 136 137[dev-dependencies.seahash] 138version = "4.0" 139 140[dev-dependencies.serde_json] 141version = "1.0.59" 142 143[dev-dependencies.smallvec] 144version = "1.13.1" 145 146[build-dependencies.version_check] 147version = "0.9.4" 148 149[features] 150atomic-polyfill = [ 151 "dep:atomic-polyfill", 152 "once_cell/atomic-polyfill", 153] 154compile-time-rng = ["const-random"] 155default = [ 156 "std", 157 "runtime-rng", 158] 159nightly-arm-aes = [] 160no-rng = [] 161runtime-rng = ["getrandom"] 162std = [] 163 164[target."cfg(not(all(target_arch = \"arm\", target_os = \"none\")))".dependencies.once_cell] 165version = "1.18.0" 166features = ["alloc"] 167default-features = false 168