aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/partial_bom.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-07-29Refactor to improve statesLibravatar Titus Wormer1-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`
2022-07-29Refactor to work on bytes (`u8`)Libravatar Titus Wormer1-0/+54