2025-06-11 10:43:59 -07:00
|
|
|
[package]
|
2025-06-11 11:45:06 -07:00
|
|
|
name = "rustc_thread_pool"
|
|
|
|
|
version = "0.0.0"
|
2025-06-25 19:38:40 +08:00
|
|
|
authors = [
|
|
|
|
|
"Niko Matsakis <niko@alum.mit.edu>",
|
|
|
|
|
"Josh Stone <cuviper@gmail.com>",
|
|
|
|
|
]
|
2025-06-11 10:43:59 -07:00
|
|
|
description = "Core APIs for Rayon - fork for rustc"
|
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
|
edition = "2021"
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
keywords = ["parallel", "thread", "concurrency", "join", "performance"]
|
|
|
|
|
categories = ["concurrency"]
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2025-06-11 11:45:06 -07:00
|
|
|
crossbeam-deque = "0.8"
|
|
|
|
|
crossbeam-utils = "0.8"
|
2025-06-25 19:38:40 +08:00
|
|
|
smallvec = "1.8.1"
|
2025-06-11 10:43:59 -07:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
rand = "0.9"
|
|
|
|
|
rand_xorshift = "0.4"
|
2025-09-02 19:09:13 +10:00
|
|
|
scoped-tls = "1.0"
|
2025-06-11 10:43:59 -07:00
|
|
|
|
|
|
|
|
[target.'cfg(unix)'.dev-dependencies]
|
2025-09-02 19:09:13 +10:00
|
|
|
libc = "0.2"
|
2025-06-11 10:43:59 -07:00
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
|
name = "stack_overflow_crash"
|
|
|
|
|
path = "tests/stack_overflow_crash.rs"
|
|
|
|
|
|
|
|
|
|
# NB: having one [[test]] manually defined means we need to declare them all
|
|
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
|
name = "double_init_fail"
|
|
|
|
|
path = "tests/double_init_fail.rs"
|
|
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
|
name = "init_zero_threads"
|
|
|
|
|
path = "tests/init_zero_threads.rs"
|
|
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
|
name = "scope_join"
|
|
|
|
|
path = "tests/scope_join.rs"
|
|
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
|
name = "simple_panic"
|
|
|
|
|
path = "tests/simple_panic.rs"
|
|
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
|
name = "scoped_threadpool"
|
|
|
|
|
path = "tests/scoped_threadpool.rs"
|