Skip to content

Commit

Permalink
disable unused futures feature (#1442)
Browse files Browse the repository at this point in the history
Signed-off-by: tottoto <tottotodev@gmail.com>
  • Loading branch information
tottoto committed Mar 26, 2024
1 parent 7f3b6da commit 362b985
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ darling = "0.20.3"
derivative = "2.1.1"
either = "1.6.1"
form_urlencoded = "1.2.0"
futures = "0.3.17"
futures = { version = "0.3.17", default-features = false }
hashbrown = "0.14.0"
home = "0.5.4"
http = "1.1.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ tokio-util.workspace = true
assert-json-diff.workspace = true
garde = { version = "0.18.0", default-features = false, features = ["derive"] }
anyhow.workspace = true
futures.workspace = true
futures = { workspace = true, features = ["async-await"] }
jsonpath-rust.workspace = true
kube = { path = "../kube", version = "^0.89.0", default-features = false, features = ["admission"] }
kube-derive = { path = "../kube-derive", version = "^0.89.0", default-features = false } # only needed to opt out of schema
Expand Down
3 changes: 2 additions & 1 deletion kube-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ http-body = { workspace = true, optional = true }
http-body-util = { workspace = true, optional = true }
either = { workspace = true, optional = true }
thiserror.workspace = true
futures = { workspace = true, optional = true }
futures = { workspace = true, optional = true, features = ["std"] }
pem = { workspace = true, optional = true }
openssl = { workspace = true, optional = true }
rustls = { workspace = true, optional = true }
Expand Down Expand Up @@ -80,6 +80,7 @@ k8s-openapi= { workspace = true, features = [] }
[dev-dependencies]
kube = { path = "../kube", features = ["derive", "client", "ws"], version = "<1.0.0, >=0.61.0" }
tempfile.workspace = true
futures = { workspace = true, features = ["async-await"] }
tokio = { workspace = true, features = ["full"] }
schemars.workspace = true
tokio-test.workspace = true
Expand Down

0 comments on commit 362b985

Please sign in to comment.