#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

#1280 in Cryptography

Download history 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 39/week @ 2024-10-14 34/week @ 2024-11-04 11/week @ 2024-11-18 16/week @ 2024-11-25 333/week @ 2024-12-02

361 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