1 unstable release

0.1.0 Dec 15, 2023

#13 in #sqlite3

MIT license

42KB
1K SLoC

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);
}

Dependencies

~25MB
~486K SLoC