Cargo Features
[dependencies]
charmap = { version = "0.2.2", default-features = false, features = ["all", "std", "hashbrown", "phf"] }
- default = std
-
The
std
feature is set by default whenevercharmap
is added without
somewhere in the dependency tree.default-features = false - all = hashbrown, phf, std
-
Mainly used for testing
- std default all?
-
Provide implementations for the standard library HashMap and BTreeMap.
- hashbrown all?
-
Provide implementations for hashbrown's HashMap.
Enables hashbrown
TODO: Figure out the minimum versions of optional dependencies that are compatible with this crate.
- phf all?
-
Provide implementations for phf's Map and OrderedMap.
Enables phf
We need the macro feature for testing.