Crates.io | futures-threadpool |
lib.rs | futures-threadpool |
version | 0.1.0 |
source | src |
created_at | 2016-12-28 02:10:14.966641 |
updated_at | 2016-12-29 04:38:39.960167 |
description | An implementation of thread pools using futures |
homepage | https://github.com/carllerche/futures-threadpool |
repository | https://github.com/carllerche/futures-threadpool |
max_upload_size | |
id | 7805 |
size | 24,033 |
A library for creating futures representing work happening concurrently on a dedicated thread pool.
First, add this to your Cargo.toml
:
[dependencies]
futures = "0.1"
futures-threadpool = "0.1"
Next, add this to your crate:
extern crate futures;
extern crate futures_threadpool;
use futures_threadpool::ThreadPool;
futures-threadpool
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.