| 1 |
[package] |
| 2 |
name = "rayon" |
| 3 |
version = "1.11.0" |
| 4 |
description = "Simple work-stealing parallelism for Rust" |
| 5 |
documentation = "https://docs.rs/rayon/" |
| 6 |
exclude = ["/ci/*", "/.github/*"] |
| 7 |
|
| 8 |
categories.workspace = true |
| 9 |
edition.workspace = true |
| 10 |
keywords.workspace = true |
| 11 |
license.workspace = true |
| 12 |
readme.workspace = true |
| 13 |
repository.workspace = true |
| 14 |
rust-version.workspace = true |
| 15 |
|
| 16 |
[features] |
| 17 |
# This feature switches to a spin-lock implementation on the browser's |
| 18 |
# main thread to avoid the forbidden `atomics.wait`. |
| 19 |
# |
| 20 |
# Only useful on the `wasm32-unknown-unknown` target. |
| 21 |
web_spin_lock = ["dep:wasm_sync", "rayon-core/web_spin_lock"] |
| 22 |
|
| 23 |
[dependencies] |
| 24 |
# These are both public dependencies! |
| 25 |
rayon-core = { version = "1.13.0", path = "rayon-core" } |
| 26 |
either.workspace = true |
| 27 |
|
| 28 |
wasm_sync = { workspace = true, optional = true } |
| 29 |
|
| 30 |
[dev-dependencies] |
| 31 |
rand.workspace = true |
| 32 |
rand_xorshift.workspace = true |
| 33 |
|
| 34 |
|
| 35 |
[workspace] |
| 36 |
members = ["rayon-demo", "rayon-core"] |
| 37 |
exclude = ["ci"] |
| 38 |
|
| 39 |
[workspace.package] |
| 40 |
readme = "README.md" |
| 41 |
rust-version = "1.80" |
| 42 |
edition = "2021" |
| 43 |
license = "MIT OR Apache-2.0" |
| 44 |
repository = "https://github.com/rayon-rs/rayon" |
| 45 |
keywords = ["parallel", "thread", "concurrency", "join", "performance"] |
| 46 |
categories = ["concurrency"] |
| 47 |
|
| 48 |
# Some dependencies may not be their latest version, in order to support older rustc. |
| 49 |
[workspace.dependencies] |
| 50 |
crossbeam-deque = "0.8.1" |
| 51 |
crossbeam-utils = "0.8.0" |
| 52 |
either = { version = "1", default-features = false } |
| 53 |
libc = "0.2" |
| 54 |
rand = "0.9" |
| 55 |
rand_xorshift = "0.4" |
| 56 |
scoped-tls = "1.0" |
| 57 |
wasm_sync = "0.1.0" |