deb822-fast

Crates.iodeb822-fast
lib.rsdeb822-fast
version0.2.3
created_at2024-11-20 22:14:25.27462+00
updated_at2025-12-07 04:56:29.283541+00
descriptionFast parsing of Debian control files in the deb822 format
homepagehttps://github.com/jelmer/deb822-lossless
repositoryhttps://github.com/jelmer/deb822-lossless
max_upload_size
id1455356
size87,606
Jelmer Vernooij (jelmer)

documentation

README

Lossy parser for deb822 format.

This parser is lossy in the sense that it will discard whitespace and comments in the input.

This parser is optimized for speed and memory usage. It provides two APIs:

  • Owned API (default): Returns owned String values. Easy to use, no lifetime management.
  • Borrowed API (borrowed module): Returns borrowed string slices. Lower allocation overhead (avoids String allocations for field data, but still allocates Vec structures for paragraphs and fields). Requires lifetime management.

For editing purposes where you need to preserve formatting, whitespace and comments, you may want to use a more feature-complete parser like deb822-lossless.

Commit count: 616

cargo fmt