aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/partial_bom.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-08-11Refactor to move some code to `state.rs`Libravatar Titus Wormer1-3/+4
2022-08-10Add `State::Retry`Libravatar Titus Wormer1-1/+1
2022-08-10Rename `State::Fn` to `State::Next`Libravatar Titus Wormer1-1/+1
2022-08-09Rewrite algorithm to not pass around boxed functionsLibravatar Titus Wormer1-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
2022-08-02Refactor to remove most closuresLibravatar Titus Wormer1-24/+17
2022-08-01Add missing docs, refactor some codeLibravatar Titus Wormer1-1/+11
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