Skip to content

Commit

Permalink
Add a note about the nightly feature in the readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
zummenix committed Jun 11, 2016
1 parent 0907bfd commit 0ed2798
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,19 @@ expected to be equal to <[1, 2, 3]>, got <[1, 2, 2]>

### Usage

In Cargo.toml:
In your Cargo.toml:
```toml
[dev-dependencies]
expectest = "0.5.1"
```

> Note: If you're using nightly rust you can use `nightly` feature:
> ```toml
> [dev-dependencies]
> expectest = { version = "0.5.1", features = ["nightly"] }
> ```
> In this case failure messages will be integrated in rust's standard panic message.
In your crate:
```rust,ignore
#[cfg(test)]
Expand Down

0 comments on commit 0ed2798

Please sign in to comment.