Cargo Features
[dependencies]
phf = { version = "0.11.2", default-features = false, features = ["std", "uncased", "unicase", "macros", "serde"] }
- default = std
-
The
std
feature is set by default wheneverphf
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of phf_shared
- uncased
-
Enables uncased of phf_shared
- unicase
-
Enables unicase of optional phf_macros and phf_shared
- macros = phf_macros
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