aur-rs
is a library that provides a simple and easy-to-use interface for
working with the Arch User Repository (AUR). 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.
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};
async fn main() { let request = Request::default(); let response = request .searchpackagebyname("packagename") .await .unwrap(); println!("{:#?}", data); } ```
For more examples, see the examples directory.
aur-rs
is licensed under the MIT license (LICENSE or
http://opensource.org/licenses/MIT)