rpmdb

Crates.iorpmdb
lib.rsrpmdb
version0.1.0
sourcesrc
created_at2023-12-15 13:51:46.91403
updated_at2023-12-15 13:51:46.91403
descriptionRust implementation of rpmdb
homepagehttps://github.com/yybit/rpmdb-rs
repositoryhttps://github.com/yybit/rpmdb-rs
max_upload_size
id1071019
size41,296
(yybit)

documentation

README

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);
}
Commit count: 3

cargo fmt