Skip to content

Commit

Permalink
Remove wasm-bindgen-rayon.
Browse files Browse the repository at this point in the history
Now that rayon supports a fallback for non-threaded environments, see:

rayon-rs/rayon#1019
  • Loading branch information
tmpfs committed Mar 7, 2023
1 parent 2faeb37 commit 0ec3449
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 23 deletions.
19 changes: 0 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ crate-type = ["cdylib", "rlib"]
mpc-ecdsa-getrandom-hack = {version = "*"}
getrandom = {version = "0.1.16", features = ["wasm-bindgen"]}
wasm-bindgen = { version = "0.2.79", features = ["serde-serialize"] }
wasm-bindgen-rayon = "1.0"
rand = { version="0.6.5", features = ["wasm-bindgen"] }
#rand = { version="0.7.3", features = ["getrandom"] }
console_error_panic_hook = "0.1.6"
Expand Down
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ pub fn start() {
log::info!("WASM: module started {:?}", std::thread::current().id());
}

// Required for rayon thread support
pub use wasm_bindgen_rayon::init_thread_pool;

mod gg2020;
mod utils;

Expand Down

0 comments on commit 0ec3449

Please sign in to comment.