diff options
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r-- | Cargo.toml.orig | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig index a6ccc97..293e64b 100644 --- a/Cargo.toml.orig +++ b/Cargo.toml.orig @@ -1,10 +1,10 @@ [package] name = "rayon" -version = "1.7.0" +version = "1.8.1" authors = ["Niko Matsakis <niko@alum.mit.edu>", "Josh Stone <cuviper@gmail.com>"] description = "Simple work-stealing parallelism for Rust" -rust-version = "1.59" +rust-version = "1.63" edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/rayon-rs/rayon" @@ -12,20 +12,28 @@ documentation = "https://docs.rs/rayon/" readme = "README.md" keywords = ["parallel", "thread", "concurrency", "join", "performance"] categories = ["concurrency"] -exclude = ["/ci/*", "/scripts/*", "/.github/*", "/bors.toml"] +exclude = ["/ci/*", "/scripts/*", "/.github/*"] [workspace] members = ["rayon-demo", "rayon-core"] exclude = ["ci"] [dependencies] -rayon-core = { version = "1.11.0", path = "rayon-core" } +rayon-core = { version = "1.12.1", path = "rayon-core" } +wasm_sync = { version = "0.1.0", optional = true } # This is a public dependency! [dependencies.either] version = "1.0" default-features = false +[features] +# This feature switches to a spin-lock implementation on the browser's +# main thread to avoid the forbidden `atomics.wait`. +# +# Only useful on the `wasm32-unknown-unknown` target. +web_spin_lock = ["dep:wasm_sync", "rayon-core/web_spin_lock"] + [dev-dependencies] rand = "0.8" rand_xorshift = "0.3" |