Skip to content

Commit b5a4019

Browse files
committed
fix: set default-features = false for futures at workspace level
1 parent 0fde6cf commit b5a4019

4 files changed

Lines changed: 3 additions & 15 deletions

File tree

Cargo.lock

Lines changed: 0 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ web-sys = "0.3"
4444
gloo = "0.11"
4545
serde = "1"
4646
serde_json = "1"
47-
futures = "0.3"
47+
futures = { version = "0.3", default-features = false }
4848
log = "0.4"
4949
wasm-logger = "0.2"
5050
rand = "0.9"

examples/ssr_router/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ required-features = ["ssr"]
1717
yew = { path = "../../packages/yew" }
1818
function_router = { path = "../function_router" }
1919
log = "0.4"
20-
futures = { workspace = true, features = ["std"], default-features = false }
20+
futures = { workspace = true, features = ["std"] }
2121
hyper-util = "0.1.17"
2222

2323
[target.'cfg(target_arch = "wasm32")'.dependencies]

packages/yew/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ slab = "0.4"
2525
wasm-bindgen.workspace = true
2626
yew-macro = { version = "^0.22.0", path = "../yew-macro" }
2727
thiserror.workspace = true
28-
futures = { workspace = true, default-features = false, features = ["std"] }
28+
futures = { workspace = true, features = ["std"] }
2929
html-escape = { version = "0.2.13", optional = true }
3030
implicit-clone = { workspace = true, features = ["map"] }
3131
base64ct = { version = "1.6.0", features = ["std"], optional = true }

0 commit comments

Comments
 (0)