crc-tools 0.1.0
CRC-32, CRC-32C, CRC-16 and CRC-64 checksums for bytes, with a streaming CRC-32
Install
cargo add crc-tools --registry rupm
In Ruststudio: Packages, search for crc-tools, Install.
Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-22.
Versions
- 0.1.0 2026-11-22
README
# crc-tools CRC-32, CRC-32C, CRC-16 and CRC-64 checksums for bytes, with a streaming CRC-32 Add it with `rupm add crc-tools` (or `cargo add crc-tools --registry rupm`). Checksums detect accidental corruption only. This crate is not meant for security-critical use (a CRC is trivially forgeable). ```rust assert_eq!(crc_tools::crc32(b"123456789"), 0xCBF4_3926); let mut c = crc_tools::Crc32::new(); c.update(b"1234"); c.update(b"56789"); assert_eq!(c.finish(), 0xCBF4_3926); ```