aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/partial_bom.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite algorithm to not pass around boxed functionsLibravatar Titus Wormer2022-08-091-3/+3
| | | | | | * Pass state names from an enum around instead of boxed functions * Refactor to simplify attempts a lot * Use a subtokenizer for the the `document` content type
* Refactor to remove most closuresLibravatar Titus Wormer2022-08-021-24/+17
|
* Add missing docs, refactor some codeLibravatar Titus Wormer2022-08-011-1/+11
|
* Refactor to improve statesLibravatar Titus Wormer2022-07-291-20/+17
| | | | | | | | | | | | * Remove custom kind wrappers, use plain bytes instead * Remove `Into`s, use the explicit expected types instead * Refactor to use `slice.as_str` in most places * Remove unneeded unique check before adding a definition * Use a shared CDATA prefix in constants * Inline byte checks into matches * Pass bytes back from parser instead of whole parse state * Refactor to work more often on bytes * Rename custom `size` to `len`
* Refactor to work on bytes (`u8`)Libravatar Titus Wormer2022-07-291-0/+54