Skip to content

Commit c99b49a

Browse files
authored
digest-io: minor fixes (#1173)
Fixes badges in the crate README and moves hash crates used in examples to dev dependencies.
1 parent 0b15cb5 commit c99b49a

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ This repository contains various utility crates used in the RustCrypto project.
1717
| [`collectable`] | [![crates.io](https://img.shields.io/crates/v/collectable.svg)](https://crates.io/crates/collectable) | [![Documentation](https://docs.rs/collectable/badge.svg)](https://docs.rs/collectable) | Fallible, `no_std`-friendly collection traits |
1818
| [`cpufeatures`] | [![crates.io](https://img.shields.io/crates/v/cpufeatures.svg)](https://crates.io/crates/cpufeatures) | [![Documentation](https://docs.rs/cpufeatures/badge.svg)](https://docs.rs/cpufeatures) | Lightweight and efficient alternative to the `is_x86_feature_detected!` macro |
1919
| [`dbl`] | [![crates.io](https://img.shields.io/crates/v/dbl.svg)](https://crates.io/crates/dbl) | [![Documentation](https://docs.rs/dbl/badge.svg)](https://docs.rs/dbl) | Double operation in Galois Field (GF) |
20+
| [`digest-io`] | [![crates.io](https://img.shields.io/crates/v/digest-io.svg)](https://crates.io/crates/digest-io) | [![Documentation](https://docs.rs/digest-io/badge.svg)](https://docs.rs/digest-io) | `std::io`-compatibility wrappers for traits defined in the `digest` crate |
2021
| [`hex-literal`] | [![crates.io](https://img.shields.io/crates/v/hex-literal.svg)](https://crates.io/crates/hex-literal) | [![Documentation](https://docs.rs/hex-literal/badge.svg)](https://docs.rs/hex-literal) | A macro for converting hexadecimal strings to a byte array at compile time |
2122
| [`inout`] | [![crates.io](https://img.shields.io/crates/v/inout.svg)](https://crates.io/crates/inout) | [![Documentation](https://docs.rs/inout/badge.svg)](https://docs.rs/inout) | Custom reference types for code generic over in-place and buffer-to-buffer modes of operation. |
2223
| [`opaque-debug`] | [![crates.io](https://img.shields.io/crates/v/opaque-debug.svg)](https://crates.io/crates/opaque-debug) | [![Documentation](https://docs.rs/opaque-debug/badge.svg)](https://docs.rs/opaque-debug) | Macro for opaque `Debug` trait implementation |
@@ -53,6 +54,7 @@ Unless you explicitly state otherwise, any contribution intentionally submitted
5354
[`collectable`]: ./collectable
5455
[`cpufeatures`]: ./cpufeatures
5556
[`dbl`]: ./dbl
57+
[`digest-io`]: ./digest-io
5658
[`hex-literal`]: ./hex-literal
5759
[`inout`]: ./inout
5860
[`opaque-debug`]: ./opaque-debug

digest-io/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ readme = "README.md"
1313

1414
[dependencies]
1515
digest = "0.11.0-pre.10"
16+
17+
[dev-dependencies]
1618
sha2 = "0.11.0-pre.5"
1719
sha3 = "0.11.0-pre.5"

digest-io/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,16 +132,16 @@ Unless you explicitly state otherwise, any contribution intentionally submitted
132132

133133
[//]: # (badges)
134134

135-
[crate-image]: https://img.shields.io/crates/v/inout.svg
136-
[crate-link]: https://crates.io/crates/inout
137-
[docs-image]: https://docs.rs/inout/badge.svg
138-
[docs-link]: https://docs.rs/inout/
135+
[crate-image]: https://img.shields.io/crates/v/digest-io.svg
136+
[crate-link]: https://crates.io/crates/digest-io
137+
[docs-image]: https://docs.rs/digest-io/badge.svg
138+
[docs-link]: https://docs.rs/digest-io/
139139
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
140140
[rustc-image]: https://img.shields.io/badge/rustc-1.85+-blue.svg
141141
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
142142
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260052-utils
143-
[build-image]: https://github.com/RustCrypto/utils/actions/workflows/inout.yml/badge.svg?branch=master
144-
[build-link]: https://github.com/RustCrypto/utils/actions/workflows/inout.yml?query=branch:master
143+
[build-image]: https://github.com/RustCrypto/utils/actions/workflows/digest-io.yml/badge.svg?branch=master
144+
[build-link]: https://github.com/RustCrypto/utils/actions/workflows/digest-io.yml?query=branch:master
145145

146146
[//]: # (general links)
147147

0 commit comments

Comments
 (0)