1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
//! # 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 }