-
Notifications
You must be signed in to change notification settings - Fork 578
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (48 loc) · 1.48 KB
/
Cargo.toml
File metadata and controls
57 lines (48 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[package]
name = "rayon"
version = "1.11.0"
description = "Simple work-stealing parallelism for Rust"
documentation = "https://docs.rs/rayon/"
exclude = ["/ci/*", "/.github/*"]
categories.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
rust-version.workspace = true
[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"]
[dependencies]
# These are both public dependencies!
rayon-core = { version = "1.13.0", path = "rayon-core" }
either.workspace = true
wasm_sync = { workspace = true, optional = true }
[dev-dependencies]
rand.workspace = true
rand_xorshift.workspace = true
[workspace]
members = ["rayon-demo", "rayon-core"]
exclude = ["ci"]
[workspace.package]
readme = "README.md"
rust-version = "1.80"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rayon-rs/rayon"
keywords = ["parallel", "thread", "concurrency", "join", "performance"]
categories = ["concurrency"]
# Some dependencies may not be their latest version, in order to support older rustc.
[workspace.dependencies]
crossbeam-deque = "0.8.1"
crossbeam-utils = "0.8.0"
either = { version = "1", default-features = false }
libc = "0.2"
rand = "0.9"
rand_xorshift = "0.4"
scoped-tls = "1.0"
wasm_sync = "0.1.0"