4 releases (2 breaking)

0.4.0 Jul 21, 2023
0.3.1 Jul 21, 2023
0.3.0 Nov 25, 2021
0.2.2 Nov 25, 2021
0.2.1 Nov 25, 2021

#87 in Network programming

Download history 329473/week @ 2023-12-08 293742/week @ 2023-12-15 157647/week @ 2023-12-22 220317/week @ 2023-12-29 322832/week @ 2024-01-05 349980/week @ 2024-01-12 371414/week @ 2024-01-19 356242/week @ 2024-01-26 372543/week @ 2024-02-02 358403/week @ 2024-02-09 355630/week @ 2024-02-16 398859/week @ 2024-02-23 391320/week @ 2024-03-01 398688/week @ 2024-03-08 413760/week @ 2024-03-15 336794/week @ 2024-03-22

1,621,296 downloads per month
Used in 700 crates (11 directly)

MIT license

30KB
535 lines

Range header parsing

Latest workflow CratesIo

The main goals of this parser is:

  • Follow specification RFC-2616
  • Behave as expected MDN
  • Accuracy - parses headers strictly
  • Security - Never panics, ensured by fuzzing
  • Stability
  • No dependecies

Secondary goals are:

  • Speed
  • Information on why the header was rejected

The parser is strict. Any range where all parts are not syntactically correct and makes sense in the context of the underlying resource will be rejected.

No runtime deps