Expand description
Owned character-decomposition data (char → Decomp) and a parser for
data/seed.txt.
The runtime encoder works against the borrowed crate::codec::DecompRef.
Decomp is the convenient owned counterpart used by tools and tests; it
exposes as_ref() to feed the codec.
Structs§
- Decomp
- Owned counterpart of
DecompRef. UseDecomp::as_refto feed the runtime encoder; the encoder itself only ever sees the borrowed form.
Functions§
- embedded_
seed - Parse the seed bundled into the binary at compile time.
Equivalent to
parse_seed(include_str!("data/seed.txt")). - parse_
seed - Parse a seed-format TSV string into
(char, Decomp)pairs.