Registry / http-client / awc
library3.8.2rscratesunverified

An async HTTP and WebSocket client library built on Actix.

# Cargo.toml [dependencies] awc = "3.8.2"
INSTALL
IMPORT
SIG · AWC
A
awc
http-clientrustv3.8.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use awc::Client;

Sends an async GET request and prints the response status.

use awc::Client; #[actix_web::main] async fn main() { let client = Client::default(); let response = client.get("https://httpbin.org/get").send().await.unwrap(); println!("Status: {}", response.status()); }
Debug
Known issues
gotchaRequires an async runtime like Actix or Tokio.
fix
Use #[actix_web::main] or tokio::main attribute.
affects: >=3.0.0
Upgrade
Version history
3.8.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
55 hits · last 30 days
node
46
Resources
awc — cargo add awc · libregistry