1[package]
2name = "rayon"
3version = "1.9.0"
4authors = ["Niko Matsakis <niko@alum.mit.edu>",
5 "Josh Stone <cuviper@gmail.com>"]
6description = "Simple work-stealing parallelism for Rust"
7rust-version = "1.63"
8edition = "2021"
9license = "MIT OR Apache-2.0"
10repository = "https://github.com/rayon-rs/rayon"
11documentation = "https://docs.rs/rayon/"
12readme = "README.md"
13keywords = ["parallel", "thread", "concurrency", "join", "performance"]
14categories = ["concurrency"]
15exclude = ["/ci/*", "/scripts/*", "/.github/*"]
16
17[workspace]
18members = ["rayon-demo", "rayon-core"]
19exclude = ["ci"]
20
21[dependencies]
22rayon-core = { version = "1.12.1", path = "rayon-core" }
23wasm_sync = { version = "0.1.0", optional = true }
24
25# This is a public dependency!
26[dependencies.either]
27version = "1.0"
28default-features = false
29
30[features]
31# This feature switches to a spin-lock implementation on the browser's
32# main thread to avoid the forbidden `atomics.wait`.
33#
34# Only useful on the `wasm32-unknown-unknown` target.
35web_spin_lock = ["dep:wasm_sync", "rayon-core/web_spin_lock"]
36
37[dev-dependencies]
38rand = "0.8"
39rand_xorshift = "0.3"
40