pydantic / speedate

Fast and simple datetime, date, time and duration parsing for rust.
https://docs.rs/speedate/latest/speedate/
MIT License
199 stars 17 forks source link

Catch large durations #11

Closed samuelcolvin closed 2 years ago

samuelcolvin commented 2 years ago

duration parsing was overflowing in a number of places before this.

codecov[bot] commented 2 years ago

Codecov Report

Merging #11 (629b641) into main (15c32f5) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #11   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          597       604    +7     
=========================================
+ Hits           597       604    +7     
Impacted Files Coverage Δ
src/lib.rs 100.00% <ø> (ø)
src/duration.rs 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 15c32f5...629b641. Read the comment docs.