Skip to content

Commit

Permalink
Use same original tokio.
Browse files Browse the repository at this point in the history
  • Loading branch information
langyo committed Dec 10, 2023
1 parent 97113c2 commit f6ff913
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ once_cell = "1"
wasm-bindgen-futures = { version = "0.4" }
gloo = { version = "0.11" }

[target.'cfg(target_os = "wasi")'.dependencies]
tokio_wasi = { version = "1", features = ["rt", "time"] }
tokio-stream_wasi = { version = "0.1", features = ["time"] }
[target.'cfg(any(not(target_arch = "wasm32"), target_os = "wasi"))'.dependencies]
tokio = { version = "1", features = ["rt", "time"] }
tokio-stream = { version = "0.1", features = ["time"] }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
num_cpus = "1.13"
tokio = { version = "1", features = ["rt", "time"] }
tokio-stream = { version = "0.1", features = ["time"] }

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tokio = { version = "1", features = ["full"] }
Expand Down

0 comments on commit f6ff913

Please sign in to comment.