Crates.io | oma-debcontrol |
lib.rs | oma-debcontrol |
version | 0.3.1 |
source | src |
created_at | 2023-08-18 06:28:04.673887 |
updated_at | 2023-12-03 06:53:15.645849 |
description | Parse Debian control files |
homepage | |
repository | https://gitlab.com/AOSC-Dev/oma-debcontrol |
max_upload_size | |
id | 947628 |
size | 64,365 |
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