arch-mirrors 0.1.1

Parse the Arch Linux mirror status.
Documentation
//! # Arch Mirrors
//! Get and parse the Arch Linux mirrors.
#![warn(missing_docs)]
#![warn(rustdoc::missing_crate_level_docs)]
#![warn(invalid_codeblock_attributes)]
pub mod country;
pub mod protocol;
pub mod status;
pub mod url;
pub(crate) mod utils;

pub use crate::url::Url;
pub use country::Country;
pub use protocol::Protocol;
pub use status::Status;

/// Shorthand for [`Status::get()`](Status::get). This gets the mirror status of all Arch Linux
/// mirrors.
pub async fn get_status() -> reqwest::Result<Status> {
    Status::get().await
}