clippy, bump version
This commit is contained in:
parent
8d34d547db
commit
bf9d963a93
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "tracing-awc"
|
||||
description = "Tracing instrumentation for the awc http client"
|
||||
version = "0.1.0-beta.10"
|
||||
version = "0.1.0-beta.11"
|
||||
authors = ["asonix <asonix@asonix.dog"]
|
||||
edition = "2018"
|
||||
license = "AGPL-3.0"
|
||||
|
|
13
src/lib.rs
13
src/lib.rs
|
@ -94,20 +94,20 @@ where
|
|||
exception.details = tracing::field::Empty,
|
||||
);
|
||||
|
||||
match &request_head.version {
|
||||
&actix_http::Version::HTTP_09 => {
|
||||
match request_head.version {
|
||||
actix_http::Version::HTTP_09 => {
|
||||
span.record("http.flavor", &"0.9");
|
||||
}
|
||||
&actix_http::Version::HTTP_10 => {
|
||||
actix_http::Version::HTTP_10 => {
|
||||
span.record("http.flavor", &"1.0");
|
||||
}
|
||||
&actix_http::Version::HTTP_11 => {
|
||||
actix_http::Version::HTTP_11 => {
|
||||
span.record("http.flavor", &"1.1");
|
||||
}
|
||||
&actix_http::Version::HTTP_2 => {
|
||||
actix_http::Version::HTTP_2 => {
|
||||
span.record("http.flavor", &"2.0");
|
||||
}
|
||||
&actix_http::Version::HTTP_3 => {
|
||||
actix_http::Version::HTTP_3 => {
|
||||
span.record("http.flavor", &"3.0");
|
||||
}
|
||||
_ => (),
|
||||
|
@ -244,6 +244,7 @@ where
|
|||
|
||||
#[derive(Debug)]
|
||||
struct RequestHeaderCarrier<'a> {
|
||||
#[allow(dead_code)]
|
||||
headers: &'a mut HeaderMap,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue