38 releases (15 stable)

new 1.1.13 May 7, 2021
1.1.11 Apr 23, 2021
1.1.8 Jan 10, 2021
1.1.7 Dec 6, 2020
0.4.0 Oct 11, 2016

#19 in Unix APIs

Download history 600/week @ 2021-01-16 6753/week @ 2021-01-23 6984/week @ 2021-01-30 3557/week @ 2021-02-06 2971/week @ 2021-02-13 2765/week @ 2021-02-20 2278/week @ 2021-02-27 2255/week @ 2021-03-06 2447/week @ 2021-03-13 2242/week @ 2021-03-20 2316/week @ 2021-03-27 2128/week @ 2021-04-03 2509/week @ 2021-04-10 2242/week @ 2021-04-17 2377/week @ 2021-04-24 8612/week @ 2021-05-01

12,584 downloads per month
Used in 9 crates (8 directly)

GPL-3.0 license

480KB
14K SLoC

alpm.rs - rust bindings for libalpm

Latest version Documentation

alpm.rs provides complete, safe, erganomic bindings to the libalpm API, the package management library used by pacman and other tools.

Features

  • mtree - enables the alpm_pkg_mtree_* funtions
  • generate - generate the raw alpm-sys bindings at build time
  • checkver - check that the version of libalpm installed is compatible with alpm.rs
  • git - target the git master API

Note: checkver does not work with the git feature. You can instead use the generate feature to ensure alpm.rs builds against a compatible libalpm version.

libalpm compatibility

alpm.rs always targets the latest version of libalpm. It may also support previous versions if the API was not changed.

alpm.rs also supports the pacman git master via the git feature.

Currently alpm.rs supports libalpm v12.x.0 to v12.x.2.

Note: When using the git feature, alpm.rs is updated against the libalpm git master as commits happen. As the git version is not considered stable software, this is done without bumping the major version.

alpm-sys

This repo also contains the alpm-sys crate, providing raw bindings for libalpm. Although you probably just want to use the alpm crate instead.

Dependencies