use rayon parallel iterator when not on wasm

This commit is contained in:
Simon Gardling
2022-03-23 20:41:24 -04:00
parent 55d47121a4
commit fd82c71652
3 changed files with 26 additions and 23 deletions

View File

@@ -44,6 +44,7 @@ command-run = "1.1.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
instant = { version = "0.1.12" }
tracing-subscriber = "0.3.9"
rayon = { git = "https://github.com/rayon-rs/rayon.git" }
[target.'cfg(target_arch = "wasm32")'.dependencies]
instant = { version = "0.1.12", features = ["wasm-bindgen"] }