# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.63.0"
name = "hashbrown"
version = "0.14.5"
authors = ["Amanieu d'Antras <amanieu@gmail.com>"]
exclude = [
    ".github",
    "/ci/*",
]
description = "A Rust port of Google's SwissTable hash map"
readme = "README.md"
keywords = [
    "hash",
    "no_std",
    "hashmap",
    "swisstable",
]
categories = [
    "data-structures",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/hashbrown"

[package.metadata.docs.rs]
features = [
    "nightly",
    "rayon",
    "serde",
    "raw",
]
rustdoc-args = ["--generate-link-to-definition"]

[dependencies.ahash]
version = "0.8.7"
optional = true
default-features = false

[dependencies.alloc]
version = "1.0.0"
optional = true
package = "rustc-std-workspace-alloc"

[dependencies.allocator-api2]
version = "0.2.9"
features = ["alloc"]
optional = true
default-features = false

[dependencies.compiler_builtins]
version = "0.1.2"
optional = true

[dependencies.core]
version = "1.0.0"
optional = true
package = "rustc-std-workspace-core"

[dependencies.equivalent]
version = "1.0"
optional = true
default-features = false

[dependencies.rayon]
version = "1.0"
optional = true

[dependencies.rkyv]
version = "0.7.42"
features = ["alloc"]
optional = true
default-features = false

[dependencies.serde]
version = "1.0.25"
optional = true
default-features = false

[dev-dependencies.bumpalo]
version = "3.13.0"
features = ["allocator-api2"]

[dev-dependencies.doc-comment]
version = "0.3.1"

[dev-dependencies.fnv]
version = "1.0.7"

[dev-dependencies.lazy_static]
version = "1.4"

[dev-dependencies.rand]
version = "0.8.3"
features = ["small_rng"]

[dev-dependencies.rayon]
version = "1.0"

[dev-dependencies.rkyv]
version = "0.7.42"
features = ["validation"]

[dev-dependencies.serde_test]
version = "1.0"

[features]
default = [
    "ahash",
    "inline-more",
    "allocator-api2",
]
inline-more = []
nightly = [
    "allocator-api2?/nightly",
    "bumpalo/allocator_api",
]
raw = []
rustc-dep-of-std = [
    "nightly",
    "core",
    "compiler_builtins",
    "alloc",
    "rustc-internal-api",
]
rustc-internal-api = []
