forked from rust-lang/futures-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9426059
commit 83fc6b7
Showing
7 changed files
with
193 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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](http://alexcrichton.com/futures-rs/futures_cpupool) | ||
|
||
## Usage | ||
|
||
First, add this to your `Cargo.toml`: | ||
|
||
```toml | ||
[dependencies] | ||
futures = { git = "https://github.com/alexcrichton/futures-rs" } | ||
futures-cpupool = { git = "https://github.com/alexcrichton/futures-rs" } | ||
``` | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# futures-io | ||
|
||
A library for `Future` and `Stream` based abstractions for working with I/O | ||
objects. | ||
|
||
[![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](http://alexcrichton.com/futures-rs/futures_io) | ||
|
||
## Usage | ||
|
||
First, add this to your `Cargo.toml`: | ||
|
||
```toml | ||
[dependencies] | ||
futures = { git = "https://github.com/alexcrichton/futures-rs" } | ||
futures-io = { git = "https://github.com/alexcrichton/futures-rs" } | ||
``` | ||
|
||
Next, add this to your crate: | ||
|
||
```rust | ||
extern crate futures; | ||
extern crate futures_io; | ||
``` | ||
|
||
# License | ||
|
||
`futures-io` 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# futures-iobuf | ||
|
||
A work-in-progress library for an I/O buffer abstraction. | ||
|
||
[![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](http://alexcrichton.com/futures-rs/futures_iobuf) | ||
|
||
## Usage | ||
|
||
First, add this to your `Cargo.toml`: | ||
|
||
```toml | ||
[dependencies] | ||
futures = { git = "https://github.com/alexcrichton/futures-rs" } | ||
futures-iobuf = { git = "https://github.com/alexcrichton/futures-rs" } | ||
``` | ||
|
||
Next, add this to your crate: | ||
|
||
```rust | ||
extern crate futures; | ||
extern crate futures_iobuf; | ||
``` | ||
|
||
# License | ||
|
||
`futures-iobuf` 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# futures-socks5 | ||
|
||
An implementation of a SOCKSv5 proxy server built on top of `futures-mio`. | ||
|
||
[![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) | ||
|
||
## Usage | ||
|
||
First, run the server | ||
|
||
``` | ||
$ cargo run | ||
... | ||
Listening for socks5 proxy connections on 127.0.0.1:8080 | ||
``` | ||
|
||
Then in a separate window you can test out the proxy: | ||
|
||
``` | ||
$ export https_proxy=socks5h://localhost:8080 | ||
$ curl -v https://www.google.com | ||
``` | ||
|
||
# License | ||
|
||
`futures-socks5` 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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# futures-tls | ||
|
||
An implementation of TLS/SSL streams built on top of the `futures-io` crate. | ||
|
||
[![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](http://alexcrichton.com/futures-rs/futures_tls) | ||
|
||
## Usage | ||
|
||
First, add this to your `Cargo.toml`: | ||
|
||
```toml | ||
[dependencies] | ||
futures-tls = { git = "https://github.com/alexcrichton/futures-rs" } | ||
``` | ||
|
||
Next, add this to your crate: | ||
|
||
```rust | ||
extern crate futures_tls; | ||
``` | ||
|
||
# License | ||
|
||
`futures-tls` 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. | ||
|