2 releases

✓ Uses Rust 2018 edition

new 0.1.1 Mar 24, 2020
0.1.0 Feb 16, 2020

#87 in Unix APIs

25 downloads per month

MIT license

40KB
836 lines

debcontrol — parse Debian control files

pipeline status crates.io version docs.rs version

A Rust crate for parsing Debian control files.

Usage

Parse a complete control file:

use debcontrol::{Paragraph, parse_str};

let paragraphs: Vec<Paragraph> = parse_str("
a-field: with a value
another-field: with a...
 ...continuation

# a comment
this-is: another paragraph
")?;

See the documentation for more examples and reference documentation.

Developing

Releases

  • bump the version in Cargo.toml
  • tag the commit as v<VERSION>, e.g. v0.1.0

Dependencies

~695KB
~13K SLoC