Skip to content

Commit 7fcd226

Browse files
authored
md5: tweak "library name" section in readme (#890)
1 parent 01f6276 commit 7fcd226

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

‎md5/README.md‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,14 @@ including HMAC-MD5.
2525
## Library name
2626

2727
Note that this crate is named as `md-5` (the `md5` crate is not part of the RustCrypto project),
28-
but it renames the library to `md5`. In other words, in your Cargo.toml you should use
29-
`md_5 = "0.11"`, but in you source code imports from this crate will look like `use md5::Md5;`.
28+
but it renames the library to `md5`.
29+
30+
In other words, if you use this crate, your Cargo.toml should look like this:
31+
```toml
32+
[dependencies]
33+
md_5 = "0.11"
34+
```
35+
However, in your Rust code you should import and use `md5` (not `md_5`).
3036

3137
## Examples
3238

0 commit comments

Comments
 (0)