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 = "2021" 14rust-version = "1.63.0" 15name = "hashbrown" 16version = "0.15.0" 17authors = ["Amanieu d'Antras <amanieu@gmail.com>"] 18build = false 19exclude = [ 20 ".github", 21 "/ci/*", 22] 23autobins = false 24autoexamples = false 25autotests = false 26autobenches = false 27description = "A Rust port of Google's SwissTable hash map" 28readme = "README.md" 29keywords = [ 30 "hash", 31 "no_std", 32 "hashmap", 33 "swisstable", 34] 35categories = [ 36 "data-structures", 37 "no-std", 38] 39license = "MIT OR Apache-2.0" 40repository = "https://github.com/rust-lang/hashbrown" 41 42[package.metadata.docs.rs] 43features = [ 44 "nightly", 45 "rayon", 46 "serde", 47 "raw-entry", 48] 49rustdoc-args = ["--generate-link-to-definition"] 50 51[lib] 52name = "hashbrown" 53path = "src/lib.rs" 54 55[[test]] 56name = "equivalent_trait" 57path = "tests/equivalent_trait.rs" 58 59[[test]] 60name = "hasher" 61path = "tests/hasher.rs" 62 63[[test]] 64name = "rayon" 65path = "tests/rayon.rs" 66 67[[test]] 68name = "serde" 69path = "tests/serde.rs" 70 71[[test]] 72name = "set" 73path = "tests/set.rs" 74 75[[bench]] 76name = "bench" 77path = "benches/bench.rs" 78 79[[bench]] 80name = "insert_unique_unchecked" 81path = "benches/insert_unique_unchecked.rs" 82 83[[bench]] 84name = "set_ops" 85path = "benches/set_ops.rs" 86 87[dependencies.alloc] 88version = "1.0.0" 89optional = true 90package = "rustc-std-workspace-alloc" 91 92[dependencies.allocator-api2] 93version = "0.2.9" 94features = ["alloc"] 95optional = true 96default-features = false 97 98[dependencies.borsh] 99version = "1.5.0" 100features = ["derive"] 101optional = true 102default-features = false 103 104[dependencies.compiler_builtins] 105version = "0.1.2" 106optional = true 107 108[dependencies.core] 109version = "1.0.0" 110optional = true 111package = "rustc-std-workspace-core" 112 113[dependencies.equivalent] 114version = "1.0" 115optional = true 116default-features = false 117 118[dependencies.foldhash] 119version = "0.1.2" 120optional = true 121default-features = false 122 123[dependencies.rayon] 124version = "1.0" 125optional = true 126 127[dependencies.serde] 128version = "1.0.25" 129optional = true 130default-features = false 131 132[dev-dependencies.bumpalo] 133version = "3.13.0" 134features = ["allocator-api2"] 135 136[dev-dependencies.doc-comment] 137version = "0.3.1" 138 139[dev-dependencies.fnv] 140version = "1.0.7" 141 142[dev-dependencies.lazy_static] 143version = "1.4" 144 145[dev-dependencies.rand] 146version = "0.8.3" 147features = ["small_rng"] 148 149[dev-dependencies.rayon] 150version = "1.0" 151 152[dev-dependencies.serde_test] 153version = "1.0" 154 155[features] 156default = [ 157 "default-hasher", 158 "inline-more", 159 "allocator-api2", 160 "equivalent", 161 "raw-entry", 162] 163default-hasher = ["dep:foldhash"] 164inline-more = [] 165nightly = [ 166 "allocator-api2?/nightly", 167 "bumpalo/allocator_api", 168] 169raw-entry = [] 170rustc-dep-of-std = [ 171 "nightly", 172 "core", 173 "compiler_builtins", 174 "alloc", 175 "rustc-internal-api", 176 "raw-entry", 177] 178rustc-internal-api = [] 179