2 releases

Uses old Rust 2015

0.1.1 Jun 10, 2018
0.1.0 Apr 23, 2018

#447 in Operating systems

LGPL-2.1+

58KB
941 lines

librpm.rs: RPM Package Manager binding for Rust

Crate Build Status LGPL v2.1+ Licensed

The librpm C library (available in the rpm-devel RPM package) exposes a programmatic interface to the RPM Package Manager, and this crate aims to provide a safe, idiomatic Rust wrapper.

Documentation

Status

  • Search and query RPM database by tag with exact match, glob, and regex
  • RPM database management: create database, delete database
  • Install and upgrade packages
  • Version comparison support (i.e. dependency sets)
  • RPM reader API (i.e. for .rpm files)
  • RPM builder API (i.e. librpmbuild)
  • RPM signing API (i.e. librpmsign)

License

Copyright (C) 2018 librpm.rs developers

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

Dependencies

~1.6–3.5MB
~81K SLoC