winnow-rs / winnow

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

fix(stream)!: Prevent slicing on non-UTF8 boundaries #471

Closed epage closed 7 months ago

epage commented 7 months ago

Fixes #460

codecov[bot] commented 7 months ago

Codecov Report

Attention: 20 lines in your changes are missing coverage. Please review.

:exclamation: No coverage uploaded for pull request base (main@d049ebd). Click here to learn what that means.

Files Patch % Lines
src/stream/mod.rs 25.92% 20 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #471 +/- ## ======================================= Coverage ? 41.86% ======================================= Files ? 18 Lines ? 3096 Branches ? 0 ======================================= Hits ? 1296 Misses ? 1800 Partials ? 0 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

coveralls commented 7 months ago

Pull Request Test Coverage Report for Build 7877832235

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/stream/mod.rs 7 27 25.93%
<!-- Total: 8 28 28.57% -->
Files with Coverage Reduction New Missed Lines %
src/ascii/mod.rs 2 54.23%
src/stream/mod.rs 2 25.71%
<!-- Total: 4 -->
Totals Coverage Status
Change from base Build 7877523483: 0.08%
Covered Lines: 1296
Relevant Lines: 3096

💛 - Coveralls