Cargo Features
[dependencies]
phf = { version = "0.14.0", default-features = false, features = ["std", "uncased", "unicase", "macros", "ptrhash", "serde"] }
- default = std
-
The
stdfeature is set by default wheneverphfis added withoutsomewhere in the dependency tree.default-features = false - std default
-
Enables std of phf_shared and optional serde
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - uncased
-
Enables uncased of optional phf_macros and phf_shared
- unicase
-
Enables unicase of optional phf_macros and phf_shared
- macros = phf_macros
- ptrhash
-
Enables ptrhash of optional phf_macros and phf_shared
Affects
map::Map,ordered_map::OrderedMap…
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- phf_macros macros?
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework