winnow-rs / winnow

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

feat: derive Default for (Stateful|Recoverable) #525

Closed TennyZhuang closed 5 months ago

TennyZhuang commented 6 months ago

Signed-off-by: TennyZhuang zty0826@gmail.com

Resolve #524

TennyZhuang commented 5 months ago

I forgot to add feature guard in yesterday's commit, and now it's fixed.

TennyZhuang commented 5 months ago

Can the PR got merged? Thanks @epage

coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 9201969139

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/stream/mod.rs 0 2 0.0%
<!-- Total: 0 2 0.0% -->
Files with Coverage Reduction New Missed Lines %
src/error.rs 1 23.61%
src/parser.rs 3 25.0%
src/stream/mod.rs 4 25.48%
<!-- Total: 8 -->
Totals Coverage Status
Change from base Build 8963659680: 0.04%
Covered Lines: 1284
Relevant Lines: 3080

💛 - Coveralls