winnow-rs / winnow

Making parsing a breeze
https://docs.rs/winnow
Other
572 stars 44 forks source link

feat(stream): Accumulate into BtreeSet and HashSet #382

Closed epage closed 11 months ago

epage commented 11 months ago

Allows combinators such as repeat and separated to collect single items into a HashSet or BTreeSet similar how (K, V) tuples can already be collected into a HashMap and BTreeMap.

Fixes #376

coveralls commented 11 months ago

Pull Request Test Coverage Report for Build 7095501321

Warning: This coverage report may be inaccurate.

We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report. To ensure accuracy in future PRs, please see these guidelines. A quick fix for this PR: rebase it; your next report should be accurate.


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/stream/mod.rs 0 11 0.0%
<!-- Total: 0 11 0.0% -->
Totals Coverage Status
Change from base Build 7093569524: -0.09%
Covered Lines: 1224
Relevant Lines: 2879

💛 - Coveralls