# 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.66"
name = "phf"
version = "0.13.1"
authors = ["Steven Fackler <sfackler@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime support for perfect hash function data structures"
readme = "README.md"
categories = [
    "data-structures",
    "no-std",
]
license = "MIT"
repository = "https://github.com/rust-phf/rust-phf"
resolver = "1"

[package.metadata.docs.rs]
features = ["macros"]

[package.metadata.playground]
all-features = false
default-features = true
features = ["macros"]

[features]
default = ["std"]
macros = ["phf_macros"]
std = [
    "phf_shared/std",
    "serde?/std",
]
uncased = [
    "phf_macros?/uncased",
    "phf_shared/uncased",
]
unicase = [
    "phf_macros?/unicase",
    "phf_shared/unicase",
]

[lib]
name = "phf"
path = "src/lib.rs"
test = false

[dependencies.phf_macros]
version = "^0.13.1"
optional = true

[dependencies.phf_shared]
version = "^0.13.1"
default-features = false

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