Registry / http-client / tracing-awc

tracing-awc

JSON →
library0.1.11rscratesunverified

Tracing instrumentation for the awc HTTP client.

# Cargo.toml [dependencies] tracing-awc = "0.1.11"
INSTALL
IMPORT
SIG · TRACING-AWC
T
tracing-awc
http-clientrustv0.1.11
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.

TracingConnector
use tracing_awc::TracingConnector;

Instrument awc HTTP client with tracing

use tracing_awc::TracingConnector; use awc::Client; #[tokio::main] async fn main() { let client = Client::builder() .connector(TracingConnector::default()) .finish(); let _ = client.get("https://example.com").send().await; }
Debug
Known issues
gotchaRequires an async runtime (tokio) to work.
fix
Add tokio as a dependency and use #[tokio::main] or similar.
affects: >=0.1.0
Upgrade
Version history
0.1.11latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
28
Amazon
1
OpenAI (training)
1
Resources
tracing-awc — cargo add tracing-awc · libregistry