1 2 3 4 5 6 7 8 9 10
//! Subalfred core HTTP library. // std use std::sync::Arc; // crates.io use once_cell::sync::Lazy; use reqwest::Client; /// Subalfred's global HTTP client. pub static CLIENT: Lazy<Arc<Client>> = Lazy::new(|| Arc::new(Client::new()));