Skip to content

Commit

Permalink
add feature propagation to hyper-proxy2 dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Aviram Hassan <aviramyhassan@gmail.com>
  • Loading branch information
aviramha committed May 26, 2024
1 parent 57320a8 commit 89045c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ license-files = [
unknown-registry = "deny"
unknown-git = "deny"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = ["https://github.com/tyrone-wu/runtime-macros.git"]
allow-git = ["https://github.com/tyrone-wu/runtime-macros.git", "https://github.com/metalbear-co/hyper-proxy2.git"]

[bans]
multiple-versions = "deny"
Expand Down
5 changes: 3 additions & 2 deletions kube-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ categories = ["web-programming::http-client", "configuration", "network-programm

[features]
default = ["client"]
rustls-tls = ["rustls", "rustls-pemfile", "hyper-rustls"]
rustls-tls = ["rustls", "rustls-pemfile", "hyper-rustls", "hyper-proxy2/rustls"]
# when hyper-proxy supports both openssl and rustls, we can re-add hyper-proxy2/openssl-tls to openssl-tls
openssl-tls = ["openssl", "hyper-openssl"]
ws = ["client", "tokio-tungstenite", "rand", "kube-core/ws", "tokio/macros"]
kubelet-debug = ["ws", "kube-core/kubelet-debug"]
Expand Down Expand Up @@ -62,7 +63,7 @@ kube-core = { path = "../kube-core", version = "=0.91.0" }
jsonpath-rust = { workspace = true, optional = true }
tokio-util = { workspace = true, features = ["io", "codec"], optional = true }
hyper = { workspace = true, features = ["client", "http1"], optional = true }
hyper-proxy2 = {version = "0.1", optional = true}
hyper-proxy2 = { git = "https://github.com/metalbear-co/hyper-proxy2.git", default-features = false, optional = true, rev = "4f72433931c626de97dd6a89ccd7a375215ab376" }
hyper-util = { workspace = true, features = ["client", "client-legacy", "http1", "tokio"], optional = true }
hyper-rustls = { workspace = true, features = ["http1", "logging", "native-tokio", "ring", "tls12"], optional = true }
hyper-socks2 = { workspace = true, optional = true }
Expand Down

0 comments on commit 89045c0

Please sign in to comment.