blob: b022994fb5f5b8bb029ffd327af2fb126b029475 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# futures-cpupool
A library for creating futures representing work happening concurrently on a
dedicated thread pool.
[![Build Status](https://travis-ci.org/alexcrichton/futures-rs.svg?branch=master)](https://travis-ci.org/alexcrichton/futures-rs)
[![Build status](https://ci.appveyor.com/api/projects/status/yl5w3ittk4kggfsh?svg=true)](https://ci.appveyor.com/project/alexcrichton/futures-rs)
[Documentation](https://docs.rs/futures-cpupool)
## Usage
First, add this to your `Cargo.toml`:
```toml
[dependencies]
futures = "0.1"
futures-cpupool = "0.1"
```
Next, add this to your crate:
```rust
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.
|