A library for creating futures representing work happening concurrently on a dedicated thread pool.
First, add this to your Cargo.toml
:
toml
[dependencies]
futures = { git = "https://github.com/alexcrichton/futures-rs" }
futures-cpupool = { git = "https://github.com/alexcrichton/futures-rs" }
Next, add this to your crate:
```rust extern crate futures; extern crate futures_cpupool;
use futures_cpupool::CpuPool; ```
futures-cpupool
is primarily distributed under the terms of both the MIT
license and the Apache License (Version 2.0), with portions covered by various
BSD-like licenses.
See LICENSE-APACHE, and LICENSE-MIT for details.