A Rust crate for parsing Debian control files.
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.
- bump the version in
Cargo.toml
- tag the commit as
v<VERSION>
, e.g.v0.1.0