Skip to content

Commit

Permalink
update http depndency
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiapenati committed Jan 1, 2024
1 parent ac3474d commit 637e7e6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ license.workspace = true
autoexamples = false

[dependencies]
http = "0.2.10"
http = "0.2.11"
opentelemetry.workspace = true
opentelemetry-http = "0.10.0"
pin-project = "1.1.3"
Expand Down
1 change: 0 additions & 1 deletion examples/http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ publish = false

[dependencies]
axum = { version = "0.6", default-features = false, features = ["http1", "tokio"] }
http = "0.2"
hyper = { version = "0.14", features = ["http1", "client"] }
opentelemetry.workspace = true
opentelemetry-otlp.workspace = true
Expand Down
3 changes: 1 addition & 2 deletions examples/http/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use axum::{routing::get, Router};
use http::Request;
use axum::{http::Request, routing::get, Router};
use hyper::Client;
use opentelemetry_sdk::{propagation::TraceContextPropagator, runtime::Tokio};
use tower::{Service, ServiceBuilder, ServiceExt};
Expand Down

0 comments on commit 637e7e6

Please sign in to comment.