raur is a library for interacting with the aurweb RPC Interface.
See also the Arch wiki page for more information.
``rust
// Use
search` to search using keywords (multiple strategies available)
let pkgs = raur::search("pacman")?;
assert!(pkgs.len() > 10);
for pkg in pkgs { println!("{:<30}{}", pkg.name, pkg.version); }
// Use info
to get info about a specific packages.
let pkgs = raur::info(&["spotify", "discord"])?;
assert_eq!(pkgs.len(), 2);
for pkg in pkgs { println!("{:<30}{}", pkg.name, pkg.version); } ```