### Tokio Runtime Example Source: https://github.com/0x676e67/wreq/blob/main/README.md Example of using the wreq client with the Tokio runtime and enabling specific emulation profiles. ```toml [dependencies] tokio = { version = "1", features = ["full"] } wreq = "6.0.0-rc" wreq-util = "3.0.0-rc" ``` ```rust use wreq::Client; use wreq_util::Emulation; #[tokio::main] async fn main() -> wreq::Result<()> { // Build a client let client = Client::builder() .emulation(Emulation::Safari26) .build()?; // Use the API you're already familiar with let resp = client.get("https://tls.peet.ws/api/all").send().await?; println!("{}", resp.text().await?); Ok(()) } ``` -------------------------------- ### Building with BoringSSL on Linux/Android Source: https://github.com/0x676e67/wreq/blob/main/README.md Command to build the project with BoringSSL, avoiding symbol conflicts with openssl-sys. ```bash sudo apt-get install build-essential cmake perl pkg-config libclang-dev musl-tools git -y cargo build --release ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.