Skip to content

Commit

Permalink
add feature propagation to hyper-proxy2 dependency
Browse files Browse the repository at this point in the history
change from hyper-proxy2 to new fork - hyper-http-proxy
  • Loading branch information
aviramha committed May 27, 2024
1 parent 57320a8 commit babaac3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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
6 changes: 3 additions & 3 deletions kube-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ 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-http-proxy?/rustls-tls-native-roots"]
openssl-tls = ["openssl", "hyper-openssl"]
ws = ["client", "tokio-tungstenite", "rand", "kube-core/ws", "tokio/macros"]
kubelet-debug = ["ws", "kube-core/kubelet-debug"]
Expand All @@ -25,7 +25,7 @@ jsonpatch = ["kube-core/jsonpatch"]
admission = ["kube-core/admission"]
config = ["__non_core", "pem", "home"]
socks5 = ["hyper-socks2"]
http-proxy = ["hyper-proxy2"]
http-proxy = ["hyper-http-proxy"]
unstable-client = []

# private feature sets; do not use
Expand Down Expand Up @@ -62,7 +62,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-http-proxy = { version = "1", default-features = false, optional = true }
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 babaac3

Please sign in to comment.