Skip to content

Commit 3ee5760

Browse files
committed
Merge branch 'release/v0.1.2'
2 parents 812c3bd + 83f704c commit 3ee5760

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "async-pipe"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "Creates an asynchronous piped reader and writer pair using tokio.rs"
55
homepage = "https://github.com/rousan/async-pipe-rs"
66
repository = "https://github.com/rousan/async-pipe-rs"

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,16 @@ Creates an asynchronous piped reader and writer pair using `tokio.rs`.
88

99
[Docs](https://docs.rs/async-pipe)
1010

11-
## Example
11+
## Usage
1212

13+
First add this to your Cargo.toml:
14+
15+
```toml
16+
[dependencies]
17+
async-pipe = "0.1"
18+
```
19+
20+
An example:
1321
```rust
1422
use async_pipe;
1523
use tokio::prelude::*;

0 commit comments

Comments
 (0)