An async wrapper for aur rpc calls
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trivernis b109b5de46
Update dependencies
11 months ago
src Change rustls to be an optional feature rather than the default 11 months ago
.gitignore Remove gitignored folder 1 year ago
Cargo.lock Update dependencies 11 months ago
Cargo.toml Update dependencies 11 months ago
LICENSE Initial version 1 year ago
README.md Add badges to README 1 year ago

README.md

aur-rpc

This crate is an async wrapper for calls to the Arch Linx User Repository.

Example

#[tokio::main]
pub async fn main() {
   let packages = aur_rpc::search("yay").await.unwrap();

   for package in packages {
       println!("{} - {}", package.name, package.maintainer);
   }
   
   let mut infos = aur_rpc::info(["mediarepo"]).await.unwrap();
   let info = infos.pop().expect("package not found");
   println!("{}", info.metadata.popularity);
}

License

Apache 2.0