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