4 releases

0.1.3 Jul 18, 2020
0.1.2 Jul 17, 2020
0.1.1 Jul 13, 2020
0.1.0 Jul 13, 2020

#356 in Asynchronous

46 downloads per month

MIT/Apache

80KB
2K SLoC

archlinux-repo

Build Status Docs

Arch Linux repository parser

Usage

[dependencies]
archlinux-repo = "0.1.2"
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

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

~9–12MB
~263K SLoC