[[bench]]
harness = false
name = "wpool_vs_rayon"
path = "benches/wpool_vs_rayon.rs"
[[bench]]
harness = false
name = "wpool_vs_threadpool"
path = "benches/wpool_vs_threadpool.rs"
[[bin]]
name = "flamegraph"
path = "bin/flamegraph.rs"
[[bin]]
name = "wpool_bin"
path = "bin/main.rs"
[dependencies.crossbeam-channel]
version = "0.5.15"
[dev-dependencies.criterion]
version = "0.7.0"
[dev-dependencies.rayon]
version = "1.11"
[dev-dependencies.serial_test]
version = "3.2.0"
[dev-dependencies.threadpool]
version = "1.8.1"
[[example]]
name = "playground"
path = "examples/playground.rs"
[lib]
name = "wpool"
path = "src/lib.rs"
[package]
authors = ["Matt Oestreich <github.com/matthewoestreich>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["asynchronous", "concurrency"]
description = "A thread pool that limits the number of tasks executing concurrently, without restricting how many tasks can be queued."
edition = "2024"
homepage = "https://github.com/matthewoestreich/wpool"
keywords = ["async", "multithreading", "pool", "workerpool", "threadpool"]
license = "MIT"
name = "wpool"
readme = "README.md"
repository = "https://github.com/matthewoestreich/wpool"
version = "0.3.0"
[profile.bench]
debug = 0
debug-assertions = false
lto = true
opt-level = 3
[profile.release]
debug = 2