Skip to content

Commit

Permalink
fix(core): TimeoutLayer now needs enable tokio time (#5057)
Browse files Browse the repository at this point in the history
fix(core): TimeoutLayer now needs tokio timeout

Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo authored Aug 26, 2024
1 parent 759ccbc commit 74b4b0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ probe = { version = "0.5.1", optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
backon = { version = "1.0.1", features = ["gloo-timers-sleep"] }
tokio = { version = "1.27", features = ["time"] }
getrandom = { version = "0.2", features = ["js"] }

[dev-dependencies]
Expand Down

0 comments on commit 74b4b0a

Please sign in to comment.