7 releases
0.1.6 | Sep 3, 2021 |
---|---|
0.1.5 | Jul 3, 2021 |
0.1.4 | May 8, 2021 |
0.1.3 | Jul 18, 2020 |
#1383 in Asynchronous
82KB
2K
SLoC
archlinux-repo
Arch Linux repository parser
Usage
[dependencies]
archlinux-repo = "0.1.6"
async fn main() {
let repo = Repository::load("mingw64", "http://repo.msys2.org/mingw/x86_64")
.await
.unwrap();
let gtk = &repo["mingw-w64-gtk3"];
for package in &repo {
println!("{}", &package.name);
}
}
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
lib.rs
:
Arch Linux repository parser
Example
use archlinux_repo::Repository;
async fn main() {
let repo = Repository::load("mingw64", "http://repo.msys2.org/mingw/x86_64")
.await
.unwrap();
let gtk = &repo["mingw-w64-gtk3"];
for package in &repo {
println!("{}", &package.name);
}
}
Dependencies
~10–24MB
~365K SLoC