Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 536 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 536 Bytes

crates.io docs.rs

rpmdb-rs

Rust implementation of rpmdb that ported from go-rpmdb, currently only supports reading package list

Available rpmdb format:

  • bdb
  • ndb
  • sqlite3

Example

let packages = rpmdb::read_packages("testdata/Packages".parse()?)?;
for package in packages {
    println!("{} {:?}", package.name, package.provides);
}