37 lines
998 B
TOML
37 lines
998 B
TOML
[package]
|
|
name = "phf"
|
|
authors = ["Steven Fackler <sfackler@gmail.com>"]
|
|
version = "0.13.1"
|
|
license = "MIT"
|
|
description = "Runtime support for perfect hash function data structures"
|
|
repository = "https://github.com/rust-phf/rust-phf"
|
|
edition = "2021"
|
|
readme = "../README.md"
|
|
rust-version = "1.66"
|
|
categories = ["data-structures", "no-std"]
|
|
|
|
[lib]
|
|
name = "phf"
|
|
path = "src/lib.rs"
|
|
test = false
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = ["phf_shared/std", "serde?/std"]
|
|
uncased = ["phf_macros?/uncased", "phf_shared/uncased"]
|
|
unicase = ["phf_macros?/unicase", "phf_shared/unicase"]
|
|
macros = ["phf_macros"]
|
|
|
|
[dependencies]
|
|
phf_macros = { version = "^0.13.1", optional = true, path = "../phf_macros" }
|
|
phf_shared = { version = "^0.13.1", default-features = false, path = "../phf_shared" }
|
|
serde = { version = "1.0", default-features = false, optional = true }
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["macros"]
|
|
|
|
[package.metadata.playground]
|
|
default-features = true
|
|
features = ["macros"]
|
|
all-features = false
|