| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2024" |
| 14 |
rust-version = "1.85" |
| 15 |
name = "phf" |
| 16 |
version = "0.14.0" |
| 17 |
authors = ["Steven Fackler <[email protected]>"] |
| 18 |
build = false |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "Runtime support for perfect hash function data structures" |
| 25 |
readme = "README.md" |
| 26 |
categories = [ |
| 27 |
"data-structures", |
| 28 |
"no-std", |
| 29 |
] |
| 30 |
license = "MIT" |
| 31 |
repository = "https://github.com/rust-phf/rust-phf" |
| 32 |
resolver = "1" |
| 33 |
|
| 34 |
[package.metadata.docs.rs] |
| 35 |
features = ["macros"] |
| 36 |
|
| 37 |
[package.metadata.playground] |
| 38 |
default-features = true |
| 39 |
features = ["macros"] |
| 40 |
all-features = false |
| 41 |
|
| 42 |
[features] |
| 43 |
default = ["std"] |
| 44 |
macros = ["phf_macros"] |
| 45 |
ptrhash = [ |
| 46 |
"phf_macros?/ptrhash", |
| 47 |
"phf_shared/ptrhash", |
| 48 |
] |
| 49 |
std = [ |
| 50 |
"phf_shared/std", |
| 51 |
"serde?/std", |
| 52 |
] |
| 53 |
uncased = [ |
| 54 |
"phf_macros?/uncased", |
| 55 |
"phf_shared/uncased", |
| 56 |
] |
| 57 |
unicase = [ |
| 58 |
"phf_macros?/unicase", |
| 59 |
"phf_shared/unicase", |
| 60 |
] |
| 61 |
|
| 62 |
[lib] |
| 63 |
name = "phf" |
| 64 |
path = "src/lib.rs" |
| 65 |
test = false |
| 66 |
|
| 67 |
[dependencies.phf_macros] |
| 68 |
version = "^0.14.0" |
| 69 |
optional = true |
| 70 |
|
| 71 |
[dependencies.phf_shared] |
| 72 |
version = "^0.14.0" |
| 73 |
default-features = false |
| 74 |
|
| 75 |
[dependencies.serde] |
| 76 |
version = "1.0" |
| 77 |
optional = true |
| 78 |
default-features = false |