summaryrefslogtreecommitdiffstats
path: root/vendor/sha1_smol/README.md
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:41:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:41:41 +0000
commit10ee2acdd26a7f1298c6f6d6b7af9b469fe29b87 (patch)
treebdffd5d80c26cf4a7a518281a204be1ace85b4c1 /vendor/sha1_smol/README.md
parentReleasing progress-linux version 1.70.0+dfsg1-9~progress7.99u1. (diff)
downloadrustc-10ee2acdd26a7f1298c6f6d6b7af9b469fe29b87.tar.xz
rustc-10ee2acdd26a7f1298c6f6d6b7af9b469fe29b87.zip
Merging upstream version 1.70.0+dfsg2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/sha1_smol/README.md')
-rw-r--r--vendor/sha1_smol/README.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/vendor/sha1_smol/README.md b/vendor/sha1_smol/README.md
new file mode 100644
index 000000000..ea39d805e
--- /dev/null
+++ b/vendor/sha1_smol/README.md
@@ -0,0 +1,32 @@
+# sha1-smol
+
+[![Build Status](https://github.com/mitsuhiko/sha1-smol/workflows/Tests/badge.svg?branch=master)](https://github.com/mitsuhiko/sha1-smol/actions?query=workflow%3ATests)
+[![Crates.io](https://img.shields.io/crates/d/sha1-smol.svg)](https://crates.io/crates/sha1-smol)
+[![License](https://img.shields.io/github/license/mitsuhiko/sha1-smol)](https://github.com/mitsuhiko/sha1-smol/blob/master/LICENSE)
+[![rustc 1.31.0](https://img.shields.io/badge/rust-1.31%2B-orange.svg)](https://img.shields.io/badge/rust-1.31%2B-orange.svg)
+[![Documentation](https://docs.rs/sha1-smol/badge.svg)](https://docs.rs/sha1-smol)
+
+Minimal and dependency free implementation of SHA1 for Rust.
+
+SHA1 is not exactly a good choice for crypto hashes these days but unfortunately
+SHA1 continues to be needed for a handful of situations due to legacy functionality.
+If you have the need for a SHA1 implementation that does not pull in large dependency chains
+you might want to consider this crate.
+
+In all other cases use the new [`sha1`](https://crates.io/crates/sha1) crate
+by the RustCrypto project instead.
+
+## sha1 crate
+
+This crate used to be published as `sha1` but in recent years a large ecosystem
+of hash libraries was built around [`RustCrypto`](https://github.com/RustCrypto)
+so the crate name was given to that project instead. Versions newer than `0.6`
+of `sha1`.
+
+This is largely based on the hash code in crypto-rs by Koka El Kiwi.
+
+## License and Links
+
+- [Documentation](https://docs.rs/sha1-smol/)
+- [Issue Tracker](https://github.com/mitsuhiko/sha1-smol/issues)
+- License: [3 Clause BSD](https://github.com/mitsuhiko/sha1-smol/blob/master/LICENSE)