19 releases (stable)

7.0.0 Nov 27, 2022
6.0.0 Feb 16, 2022
5.0.1 Apr 27, 2021
5.0.0 Jan 16, 2021
0.1.0 Apr 14, 2018

#855 in Unix APIs

Download history 5269/week @ 2025-05-21 5226/week @ 2025-05-28 5325/week @ 2025-06-04 4919/week @ 2025-06-11 5108/week @ 2025-06-18 5485/week @ 2025-06-25 8483/week @ 2025-07-02 12464/week @ 2025-07-09 8335/week @ 2025-07-16 7592/week @ 2025-07-23 7349/week @ 2025-07-30 6557/week @ 2025-08-06 6499/week @ 2025-08-13 6247/week @ 2025-08-20 5929/week @ 2025-08-27 5081/week @ 2025-09-03

24,660 downloads per month
Used in 8 crates (7 directly)

MPL-2.0 license

30KB
531 lines

pipeline status

raur

raur is a library for interacting with the aurweb RPC Interface.

See also the Arch wiki page for more information.

Example

use raur::Raur;

let raur = raur::Handle::new();

// Use `search` to search using keywords (multiple strategies available)
let pkgs = raur.search("pacman").await?;
assert!(pkgs.len() > 10);

for pkg in pkgs {
    println!("{:<30}{}", pkg.name, pkg.version);
}

// Use `info` to get info about a list of packages. Not-found packages are silently ignored.
let pkgs = raur.info(&["spotify", "discord-canary"]).await?;
assert_eq!(pkgs.len(), 2);

for pkg in pkgs {
    println!("{:<30}{}", pkg.name, pkg.version);
}

Dependencies

~5–17MB
~225K SLoC