From db2e15ee46d0aaa93aba5f032596d5899e3034a4 Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Mon, 29 Jun 2026 13:34:34 +0000 Subject: [PATCH 1/2] Update README.md --- md5/README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/md5/README.md b/md5/README.md index d0beb244e..26a0c43d3 100644 --- a/md5/README.md +++ b/md5/README.md @@ -25,8 +25,14 @@ including HMAC-MD5. ## Library name Note that this crate is named as `md-5` (the `md5` crate is not part of the RustCrypto project), -but it renames the library to `md5`. In other words, in your Cargo.toml you should use -`md_5 = "0.11"`, but in you source code imports from this crate will look like `use md5::Md5;`. +but it renames the library to `md5`. + +In other words, if you use this crate, your Cargo.toml should look like this: +```toml +[dependencies] +md_5 = "0.11" +``` +But in your Rust code you should use `md5` instead of `md_5` as shown in the examples below. ## Examples From a1189ed92522537b1d5dce8bdd9612e064541a4b Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Mon, 29 Jun 2026 16:38:02 +0300 Subject: [PATCH 2/2] tweak --- md5/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/md5/README.md b/md5/README.md index 26a0c43d3..11d4ede9a 100644 --- a/md5/README.md +++ b/md5/README.md @@ -32,7 +32,7 @@ In other words, if you use this crate, your Cargo.toml should look like this: [dependencies] md_5 = "0.11" ``` -But in your Rust code you should use `md5` instead of `md_5` as shown in the examples below. +However, in your Rust code you should import and use `md5` (not `md_5`). ## Examples