| Crates.io | aur-rs |
| lib.rs | aur-rs |
| version | 0.1.1 |
| created_at | 2023-06-25 03:22:27.472716+00 |
| updated_at | 2023-07-10 13:47:18.139205+00 |
| description | Library for interacting with the Arch User Repository's RPC interface |
| homepage | |
| repository | https://git.sr.ht/~xulfer/aur-rs |
| max_upload_size | |
| id | 899269 |
| size | 84,142 |
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:
[dependencies]
aur-rs = "0.1"
Then for a simple name search example,
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 directory.
aur-rs is licensed under the MIT license (LICENSE or
http://opensource.org/licenses/MIT)