oma-debcontrol

Crates.iooma-debcontrol
lib.rsoma-debcontrol
version0.3.1
sourcesrc
created_at2023-08-18 06:28:04.673887
updated_at2023-12-03 06:53:15.645849
descriptionParse Debian control files
homepage
repositoryhttps://gitlab.com/AOSC-Dev/oma-debcontrol
max_upload_size
id947628
size64,365
Mag Mell (eatradish)

documentation

README

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
Commit count: 0

cargo fmt