| 1 |
[package] |
| 2 |
name = "phf" |
| 3 |
authors = ["Steven Fackler <[email protected]>"] |
| 4 |
version = "0.11.3" |
| 5 |
license = "MIT" |
| 6 |
description = "Runtime support for perfect hash function data structures" |
| 7 |
repository = "https://github.com/rust-phf/rust-phf" |
| 8 |
edition = "2021" |
| 9 |
readme = "../README.md" |
| 10 |
rust-version = "1.61" |
| 11 |
categories = ["data-structures", "no-std"] |
| 12 |
|
| 13 |
[lib] |
| 14 |
name = "phf" |
| 15 |
path = "src/lib.rs" |
| 16 |
test = false |
| 17 |
|
| 18 |
[features] |
| 19 |
default = ["std"] |
| 20 |
std = ["phf_shared/std"] |
| 21 |
uncased = ["phf_shared/uncased"] |
| 22 |
unicase = ["phf_macros?/unicase", "phf_shared/unicase"] |
| 23 |
macros = ["phf_macros"] |
| 24 |
|
| 25 |
[dependencies] |
| 26 |
phf_macros = { version = "^0.11.3", optional = true, path = "../phf_macros" } |
| 27 |
phf_shared = { version = "^0.11.3", default-features = false, path = "../phf_shared" } |
| 28 |
serde = { version = "1.0", optional = true } |
| 29 |
|
| 30 |
[package.metadata.docs.rs] |
| 31 |
features = ["macros"] |
| 32 |
|
| 33 |
[package.metadata.playground] |
| 34 |
default-features = true |
| 35 |
features = ["macros"] |
| 36 |
all-features = false |