[package]
edition = "2024"
rust-version = "1.94"
name = "qubit-thread-pool"
version = "0.1.1"
authors = ["Haixing Hu <starfish.hu@gmail.com>"]
build = false
exclude = [
"coverage.sh",
"COVERAGE.md",
"COVERAGE.zh_CN.md",
".circleci/*",
"ci-check.sh",
".llvm-cov.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dynamic and fixed thread pool executor services for Qubit Rust libraries"
homepage = "https://github.com/qubit-ltd/rs-thread-pool"
documentation = "https://docs.rs/qubit-thread-pool"
readme = "README.md"
keywords = [
"thread-pool",
"executor",
"concurrency",
"work-stealing",
]
categories = ["concurrency"]
license = "Apache-2.0"
repository = "https://github.com/qubit-ltd/rs-thread-pool"
[lib]
name = "qubit_thread_pool"
path = "src/lib.rs"
doctest = true
[[test]]
name = "mod"
path = "tests/mod.rs"
[[bench]]
name = "thread_pool_bench"
path = "benches/thread_pool_bench.rs"
harness = false
[dependencies.crossbeam-deque]
version = "0.8"
[dependencies.qubit-executor]
version = "0.1"
[dependencies.qubit-function]
version = "0.11"
[dependencies.qubit-lock]
version = "0.3"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.rayon]
version = "1.12"
[dev-dependencies.threadpool]
version = "1.8"
[dev-dependencies.tokio]
version = "1.52"
features = [
"macros",
"rt-multi-thread",
"time",
]