Crates.io | debcontrol |
lib.rs | debcontrol |
version | 0.1.1 |
source | src |
created_at | 2020-02-16 15:04:26.679198 |
updated_at | 2020-03-24 22:36:36.991709 |
description | Parse Debian control files |
homepage | |
repository | https://gitlab.com/fkrull/debcontrol-rs |
max_upload_size | |
id | 209789 |
size | 55,718 |
debcontrol
— parse Debian control filesA 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.
Cargo.toml
v<VERSION>
, e.g. v0.1.0