2 releases
0.1.1 | Jan 10, 2023 |
---|---|
0.1.0 | Jan 10, 2023 |
#980 in Unix APIs
Used in arch-reflector
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
~4–20MB
~263K SLoC