зеркало из https://github.com/mozilla/gecko-dev.git
431554b5cf
* futures: 0.1.13 -> 0.1.18 * futures-cpupool: 0.1.5 -> 0.1.8 MozReview-Commit-ID: LDYFHxBfQMU --HG-- extra : rebase_source : f1693246c545da9dcf32a5ae72fb023c9d565061 |
||
---|---|---|
.. | ||
src | ||
tests | ||
.cargo-checksum.json | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
README.md
futures-cpupool
A library for creating futures representing work happening concurrently on a dedicated thread pool.
Usage
First, add this to your Cargo.toml
:
[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;
License
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.