pacman-key

Crates.iopacman-key
lib.rspacman-key
version0.1.2
created_at2026-01-17 17:55:31.066762+00
updated_at2026-01-17 19:48:16.386514+00
descriptionNative Rust interface for managing the pacman keyring on Arch Linux
homepage
repositoryhttps://github.com/pfeifferj/pacman-key-rs
max_upload_size
id2050864
size116,163
Josephine Pfeiffer (pfeifferj)

documentation

README

pacman-key

Native Rust interface for managing the pacman keyring on Arch Linux.

Installation

[dependencies]
pacman-key = "0.1"

Usage

use pacman_key::Keyring;

#[tokio::main]
async fn main() -> pacman_key::Result<()> {
    let keyring = Keyring::new();

    for key in keyring.list_keys().await? {
        println!("{} - {:?}", key.uid, key.validity);
    }

    Ok(())
}

License

GPL-3.0

Commit count: 11

cargo fmt