Crates.io | crc32_light |
lib.rs | crc32_light |
version | 0.1.1 |
source | src |
created_at | 2024-01-19 10:49:19.242573 |
updated_at | 2024-01-19 10:56:43.319884 |
description | Calculate CRC-32 checksum |
homepage | https://github.com/kujirahand/rust-crc32 |
repository | https://github.com/kujirahand/rust-crc32 |
max_upload_size | |
id | 1105179 |
size | 7,303 |
Calculate CRC-32 checksum for binary data.
cargo add crc32_light
use crc32_light::crc32;
fn main() {
let crc = crc32(b"dog");
println!("CRC32 = 0x{:08x}", crc);
}