| 1 | [package] |
| 2 | name = "rayon" |
| 3 | version = "1.10.0" |
| 4 | authors = ["Niko Matsakis <niko@alum.mit.edu>" , |
| 5 | "Josh Stone <cuviper@gmail.com>" ] |
| 6 | description = "Simple work-stealing parallelism for Rust" |
| 7 | rust-version = "1.63" |
| 8 | edition = "2021" |
| 9 | license = "MIT OR Apache-2.0" |
| 10 | repository = "https://github.com/rayon-rs/rayon" |
| 11 | documentation = "https://docs.rs/rayon/" |
| 12 | readme = "README.md" |
| 13 | keywords = ["parallel" , "thread" , "concurrency" , "join" , "performance" ] |
| 14 | categories = ["concurrency" ] |
| 15 | exclude = ["/ci/*" , "/scripts/*" , "/.github/*" ] |
| 16 | |
| 17 | [workspace] |
| 18 | members = ["rayon-demo" , "rayon-core" ] |
| 19 | exclude = ["ci" ] |
| 20 | |
| 21 | [dependencies] |
| 22 | rayon-core = { version = "1.12.1" , path = "rayon-core" } |
| 23 | wasm_sync = { version = "0.1.0" , optional = true } |
| 24 | |
| 25 | # This is a public dependency! |
| 26 | [dependencies.either] |
| 27 | version = "1.0" |
| 28 | default-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. |
| 35 | web_spin_lock = ["dep:wasm_sync" , "rayon-core/web_spin_lock" ] |
| 36 | |
| 37 | [dev-dependencies] |
| 38 | rand = "0.8" |
| 39 | rand_xorshift = "0.3" |
| 40 | |