# 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.77"
name = "rustc-hash"
version = "2.1.2"
authors = ["The Rust Project Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A speedy, non-cryptographic hashing algorithm used by rustc"
readme = "README.md"
keywords = [
    "hash",
    "hasher",
    "fxhash",
    "rustc",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/rust-lang/rustc-hash"

[features]
default = ["std"]
nightly = []
rand = [
    "dep:rand",
    "std",
]
std = []

[lib]
name = "rustc_hash"
path = "src/lib.rs"

[dependencies.rand]
version = "0.8"
optional = true
