diff --git a/Cargo.toml b/Cargo.toml index bd13704..6c6f8d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tracing-awc" description = "Tracing instrumentation for the awc http client" -version = "0.1.1" +version = "0.1.2" authors = ["asonix Result<(), Box> { - Client::new().get(url).propagate().send().await?; + Client::builder() + .wrap(Tracing) + .finish() + .get(url) + .send() + .await?; Ok(()) }