1 unstable release

0.1.0 Dec 15, 2023

#1600 in Database interfaces

44 downloads per month

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
~485K SLoC