mileage
This crate is deprecated, as there are better ways of accomplishing its contributions now.
CharRangeis a simple range of codepoints, effectivelystd::ops::RangeInclusive<char>. The std ranges have supported iteratingcharfor a long time now.CharSetis a set of codepoints handled as a sorted vector of compact ranges.icu_collectionsprovides aCodePointInversionList.CharTrieis a static set of codepoints optimized for wide codepoint coverage. The simpler inversion list is usually sufficient.CharMapis a mapping from (ranges of) codepoints to values.icu_collectionsprovides aCodePointTriewith map functionality.
Features
set: Adds theCharSettype.trie: Adds theCharTrietype.map: Adds theCharMapreference type.owned-set: Adds theCharSetBuftype.new-trie: Adds code generation support forCharTries.par-iter: Adds implementations ofrayon::IntoParallelIterator.
Example
Planned (eventually)
CharMapRefMutCharMapBuf