Skip to content

Commit 5dcadb8

Browse files
committed
Enable HTTP 1 and 2
1 parent 0f1b3f0 commit 5dcadb8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

opentelemetry-http/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ bytes = { workspace = true }
2020
http = { workspace = true }
2121
http-body-util = { workspace = true, optional = true }
2222
hyper = { workspace = true, features = ["http2", "client"], optional = true }
23-
hyper-util = { workspace = true, features = ["client-legacy"], optional = true }
23+
hyper-util = { workspace = true, features = ["client-legacy", "http1", "http2"], optional = true }
2424
opentelemetry = { version = "0.22", path = "../opentelemetry", features = ["trace"] }
2525
reqwest = { workspace = true, features = ["blocking"], optional = true }
2626
tokio = { workspace = true, features = ["time"], optional = true }

opentelemetry-jaeger/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ headers = { version = "0.4.0", optional = true }
3030
http = { workspace = true, optional = true }
3131
http-body-util = { workspace = true, optional = true }
3232
hyper = { workspace = true, features = ["client"], optional = true }
33-
hyper-util = { workspace = true, features = ["client-legacy"], optional = true }
33+
hyper-util = { workspace = true, features = ["client-legacy", "http1", "http2"], optional = true }
3434
hyper-tls = { version = "0.6.0", default-features = false, optional = true }
3535
js-sys = { version = "0.3", optional = true }
3636
opentelemetry = { version = "0.22", default-features = false, features = ["trace"], path = "../opentelemetry" }

0 commit comments

Comments
 (0)