First, add this to your
[dependencies] futures = "0.1" futures-cpupool = "0.1"
Next, add this to your crate:
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.