1[package]
2name = "rayon-core"
3version = "1.12.1"
4authors = ["Niko Matsakis <niko@alum.mit.edu>",
5 "Josh Stone <cuviper@gmail.com>"]
6description = "Core APIs for Rayon"
7license = "MIT OR Apache-2.0"
8repository = "https://github.com/rayon-rs/rayon"
9documentation = "https://docs.rs/rayon/"
10rust-version = "1.63"
11edition = "2021"
12links = "rayon-core"
13build = "build.rs"
14readme = "README.md"
15keywords = ["parallel", "thread", "concurrency", "join", "performance"]
16categories = ["concurrency"]
17
18# Some dependencies may not be their latest version, in order to support older rustc.
19[dependencies]
20crossbeam-deque = "0.8.1"
21crossbeam-utils = "0.8.0"
22wasm_sync = { version = "0.1.0", optional = true }
23
24[features]
25
26# This feature switches to a spin-lock implementation on the browser's
27# main thread to avoid the forbidden `atomics.wait`.
28#
29# Only useful on the `wasm32-unknown-unknown` target.
30web_spin_lock = ["dep:wasm_sync"]
31
32[dev-dependencies]
33rand = "0.8"
34rand_xorshift = "0.3"
35scoped-tls = "1.0"
36
37[target.'cfg(unix)'.dev-dependencies]
38libc = "0.2"
39
40[[test]]
41name = "stack_overflow_crash"
42path = "tests/stack_overflow_crash.rs"
43
44# NB: having one [[test]] manually defined means we need to declare them all
45
46[[test]]
47name = "double_init_fail"
48path = "tests/double_init_fail.rs"
49
50[[test]]
51name = "init_zero_threads"
52path = "tests/init_zero_threads.rs"
53
54[[test]]
55name = "scope_join"
56path = "tests/scope_join.rs"
57
58[[test]]
59name = "simple_panic"
60path = "tests/simple_panic.rs"
61
62[[test]]
63name = "scoped_threadpool"
64path = "tests/scoped_threadpool.rs"
65
66[[test]]
67name = "use_current_thread"
68path = "tests/use_current_thread.rs"
69