litemap is a crate providing
LiteMap, a highly simplistic “flat” key-value map
based off of a single sorted vector.
If binary size is not a concern,
std::collections::BTreeMap may be a better choice
for your use case. It behaves very similarly to
LiteMap for less than 12 elements,
and upgrades itself gracefully for larger inputs.
- Traits for pluggable LiteMap backends.
- Test utilities, primarily targeted to custom LiteMap stores.
- A simple “flat” map based on a sorted vector