Skip to content

Commit

Permalink
describe how to disable the std feature (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov authored May 26, 2020
1 parent 41b7437 commit 7967244
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ First add `blake2` crate to your `Cargo.toml`:
blake2 = "0.8"
```

Note that crates in this repository have an enabled by default `std` feature.
So if you plan to use the crate in `no_std` enviroments, don't forget to disable it:

```toml
[dependencies]
blake2 = { version="0.8", default-features = false }
```

`blake2` and other crates re-export `digest` crate and `Digest` trait for
convenience, so you don't have to add `digest` crate as an explicit dependency.

Expand Down

0 comments on commit 7967244

Please sign in to comment.