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

#662 in Unix APIs

Download history 4289/week @ 2024-12-25 4266/week @ 2025-01-01 4283/week @ 2025-01-08 3994/week @ 2025-01-15 3905/week @ 2025-01-22 4264/week @ 2025-01-29 4360/week @ 2025-02-05 4442/week @ 2025-02-12 4519/week @ 2025-02-19 4705/week @ 2025-02-26 4666/week @ 2025-03-05 4596/week @ 2025-03-12 4340/week @ 2025-03-19 4461/week @ 2025-03-26 4145/week @ 2025-04-02 4043/week @ 2025-04-09

17,578 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

~4–16MB
~222K SLoC