Crates.io | alpm-sys-ll |
lib.rs | alpm-sys-ll |
version | 3.0.0 |
source | src |
created_at | 2022-08-26 08:28:35.601019 |
updated_at | 2022-08-26 08:28:35.601019 |
description | Raw bindings for libalpm |
homepage | http://github.com/32Bites/alpm-ll.rs |
repository | http://github.com/32Bites/alpm-ll.rs |
max_upload_size | |
id | 652619 |
size | 294,851 |
alpm.rs provides complete, safe, ergonomic bindings to the libalpm API, the package management library used by pacman and other tools.
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.
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 v13.x.x.
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.
This crate just provides bindings for libalpm and hence does not document libalpm. You can find documentation for libalpm in the libalpm (3) man page or in alpm.h.
There are also examples on how to use the alpm crate in alpm/examples.
This repo also contains the alpm-sys crate, providing raw bindings for libalpm. Although you probably just want to use the alpm crate instead.
I changed this library to be entirely dependent on loading libalpm at runtime through libloading. Allows for this to be utilized as an optional dependency at runtime. This is useful for utilities that may potentially need to use libalpm, but, may not have the ability to due to system constraints.
Signed, Noah Shanaberger.