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

#1397 in Asynchronous

38 downloads per month

MIT/Apache

82KB
2K SLoC

archlinux-repo

Build Status Docs

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

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–26MB
~381K SLoC