Skip to content

Commit 9062eec

Browse files
committed
Enable HTTP/2 features in hyper dependencies
Add http2 feature to hyper, hyper-util, and hyper-rustls to enable HTTP/2 ALPN support in the kube-client. This complements the enable_http2() API call to provide full HTTP/2 multiplexing capability for Kubernetes API connections. Signed-off-by: Andrew McDermott <[email protected]>
1 parent c879038 commit 9062eec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kube-client/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ tokio = { workspace = true, features = ["time", "signal", "sync"], optional = tr
6363
kube-core = { path = "../kube-core", version = "=2.0.0" }
6464
jsonpath-rust = { workspace = true, optional = true }
6565
tokio-util = { workspace = true, features = ["io", "codec"], optional = true }
66-
hyper = { workspace = true, features = ["client", "http1"], optional = true }
67-
hyper-util = { workspace = true, features = ["client", "client-legacy", "http1", "tokio", "tracing"], optional = true }
68-
hyper-rustls = { workspace = true, features = ["http1", "logging", "native-tokio", "tls12"], optional = true }
66+
hyper = { workspace = true, features = ["client", "http1", "http2"], optional = true }
67+
hyper-util = { workspace = true, features = ["client", "client-legacy", "http1", "http2", "tokio", "tracing"], optional = true }
68+
hyper-rustls = { workspace = true, features = ["http1", "http2", "logging", "native-tokio", "tls12"], optional = true }
6969
tokio-tungstenite = { workspace = true, optional = true }
7070
tower = { workspace = true, features = ["buffer", "filter", "util"], optional = true }
7171
tower-http = { workspace = true, features = ["auth", "map-response-body", "trace"], optional = true }

0 commit comments

Comments
 (0)