gecko-dev/third_party/rust/futures-cpupool
Dan Glastonbury cd2eb5e8a4 Bug 1428952 - P4: Vendor rust crates. r=rillian
MozReview-Commit-ID: 7UQPozxpmC1

--HG--
extra : rebase_source : fc27016f0e51a9f4d1f09f842da7943f65070508
2017-11-06 16:26:30 +10:00
..
src
tests
.cargo-checksum.json
Cargo.toml
README.md

futures-cpupool

A library for creating futures representing work happening concurrently on a dedicated thread pool.

Build Status Build status

Documentation

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.