Debian Codegraph @

/

debian rust-http-range-header 0.4.2-1debian librust-http-range-header-dev debian librust-http-range-header+default-dev debian librust-http-range-header-0-dev debian librust-http-range-header-0+default-dev debian librust-http-range-header-0.4-dev debian librust-http-range-header-0.4+default-dev debian librust-http-range-header-0.4.2-dev debian librust-http-range-header-0.4.2+default-dev cargo http-range-header 0.4.2 debianjsonmakefilemarkdownrustrust-c-abishelltoml 16 files · 282 symbols
View dependency graph

Depends on

  • dh-cargo (dh-sequence-cargo)
  • cargo, debhelper-compat, libstd-rust-dev, rustc
README (full)

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.

Dev release checklist

  1. Make sure CI passes
  2. Run cargo fuzz cargo +nightly fuzz run random_string_input, at least a minute should be good enough. If it doesn't error out it has passed.
  3. Check msrv with for example cargo msrv, if a higher msrv is wanted/needed, bump it so that it's less than or equal to tower-http's
  4. Update changelog
  5. Update version
  6. Publish
dir benches/
dir debian/
dir src/
file .cargo_vcs_info.json
file .gitignore
file Cargo.toml
file Cargo.toml.orig
file Changelog.md
file LICENSE
file README.md