Skip to content

Rust bindings to the RPM Package Manager libraries (librpm, librpmbuild, librpmsign)

License

Notifications You must be signed in to change notification settings

rpm-software-management/librpm.rs

Repository files navigation

librpm.rs: RPM Package Manager binding for Rust

Crate Build Status MPL-2.0 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) RustRPM Developers

This library is free software. For more information on free software, see https://www.gnu.org/philosophy/free-sw.en.html.

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.