[package]
name = "lagoon"
version = "0.1.3"
edition = "2018"
license = "MIT"
description = "A thread pool crate with an array of features"
repository = "https://github.com/zesterer/lagoon"
keywords = ["threadpool", "thread", "job", "pool", "rayon"]
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>"]
[features]
default = ["num_cpus"]
scope = ["scopeguard"]
recv = ["oneshot"]
[dependencies]
crossbeam-channel = "0.5"
spin = { version = "0.9", features = ["std"] }
num_cpus = { version = "^1", optional = true }
oneshot = { version = "0.1", optional = true }
scopeguard = { version = "1.1", optional = true }
[dev-dependencies]
criterion = "0.3"
uvth = "4.0"
threadpool = "1.8"
rusty_pool = "0.6.0"
[[bench]]
name = "threadpool"
harness = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]