#writer #hash #checksum

chksum-writer

A convenient interface for calculating hash digests on the fly while writing data to a writer

2 unstable releases

0.1.0 Oct 6, 2024
0.0.0 Dec 21, 2023

#756 in Cryptography

Download history 22/week @ 2024-06-24 3/week @ 2024-07-01 10/week @ 2024-07-08 29/week @ 2024-07-15 9/week @ 2024-07-22 20/week @ 2024-07-29 19/week @ 2024-08-05 15/week @ 2024-08-12 8/week @ 2024-08-19 22/week @ 2024-08-26 13/week @ 2024-09-02 12/week @ 2024-09-09 12/week @ 2024-09-16 24/week @ 2024-09-23 67/week @ 2024-09-30 119/week @ 2024-10-07

222 downloads per month
Used in 8 crates (7 directly)

MIT license

9KB
139 lines

chksum-writer

GitHub Build docs.rs MSRV deps.rs unsafe forbidden LICENSE

A convenient interface for calculating hash digests on the fly while writing data to a writer.

Setup

To use this crate, add the following entry to your Cargo.toml file in the dependencies section:

[dependencies]
chksum-writer = "0.1.0"

Alternatively, you can use the cargo add subcommand:

cargo add chksum-writer

Features

Asynchronous Runtime

  • async-runtime-tokio: Enables async interface for Tokio runtime.

By default, neither of these features is enabled.

Examples

For implementation-specific examples, refer to the documentation of the following crates:

License

This crate is licensed under the MIT License.

Dependencies

~0.3–6MB
~37K SLoC