aur-rs ====== [![builds.sr.ht status](https://builds.sr.ht/~xulfer/aur-rs.svg)](https://builds.sr.ht/~xulfer/aur-rs?) [![crates.io](https://img.shields.io/crates/v/aur-rs.svg)](https://crates.io/crates/aur-rs) [![docs.rs](https://docs.rs/aur-rs/badge.svg)](https://docs.rs/aur-rs) [![license](https://img.shields.io/crates/l/aur-rs.svg)](https://crates.io/crates/aur-rs) `aur-rs` is a library that provides a simple and easy-to-use interface for working with the [Arch User Repository (AUR)](https://aur.archlinux.org). It's written in Rust and has full support for the latest version 5 API of the AUR. The library allows you to search for packages, download package information, and more. Features -------- - Full support for the AUR v5 path based API - Asynchronous API - Support for searching for packages Usage ----- Add the following to your `Cargo.toml`: ```toml [dependencies] aur-rs = "0.1" ``` Then for a simple name search example, ```rust use aur_rs::{Request, ReturnData}; #[tokio::main] async fn main() { let request = Request::default(); let response = request .search_package_by_name("package_name") .await .unwrap(); println!("{:#?}", data); } ``` For more examples, see the [examples](examples) directory. License ------- `aur-rs` is licensed under the MIT license ([LICENSE](LICENSE) or http://opensource.org/licenses/MIT)