[package]
edition = "2024"
rust-version = "1.94"
name = "qubit-thread-pool"
version = "0.8.1"
authors = ["Haixing Hu <starfish.hu@gmail.com>"]
build = false
include = [
"/Cargo.toml",
"/LICENSE",
"/README.md",
"/README.zh_CN.md",
"/RUST_CODING_STYLE.md",
"/RUST_CODING_STYLE.zh_CN.md",
"/doc/**/user_guide*.md",
"/examples/**",
"/resources/**",
"/src/**",
"/tests/**",
]
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",
"blocking",
]
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 = "executor_build_error_tests"
path = "tests/executor_build_error_tests.rs"
[[test]]
name = "lib_tests"
path = "tests/lib_tests.rs"
[[test]]
name = "pool_job_tests"
path = "tests/pool_job_tests.rs"
[[test]]
name = "thread_pool_hooks_tests"
path = "tests/thread_pool_hooks_tests.rs"
[[test]]
name = "thread_pool_stats_tests"
path = "tests/thread_pool_stats_tests.rs"
[dependencies.crossbeam-deque]
version = "0.8"
[dependencies.qubit-executor]
version = "0.6"
[dependencies.qubit-function]
version = "0.14"
[dependencies.qubit-lock]
version = "0.8"
[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",
]