2 releases

0.1.1 Jan 10, 2023
0.1.0 Jan 10, 2023

#959 in Unix APIs

21 downloads per month
Used in arch-reflector

MIT license

29KB
251 lines

Arch Mirrors

Parse the Arch Linux mirror status

Description

The arch-mirrors-rs crate allows you to parse the JSON different mirror status sources (like https://www.archlinux.org/mirrors/status/json) into a typed, rusty form.

Examples

For the examples see examples.

Installation

$ cargo add arch-mirrors-rs

Acknowledgements

Most of the code is directly taken from arch-mirrors. I made some PRs there but they went unanswered, so I had to fork it.


lib.rs:

Arch Mirrors

Get and parse the Arch Linux mirrors.

Dependencies

~5–19MB
~277K SLoC