Crates.io | compile-time-crc32 |
lib.rs | compile-time-crc32 |
version | 0.1.2 |
source | src |
created_at | 2019-11-22 21:15:09.305807 |
updated_at | 2019-11-22 21:41:52.266249 |
description | A library for taking the crc32 of a string or byte literal at compile time |
homepage | https://docs.rs/compile-time-crc32 |
repository | https://github.com/jam1garner/compile-time-crc32 |
max_upload_size | |
id | 183593 |
size | 1,974 |
A macro for taking the crc32 of a string or bytes literal at runtime.
use compile_time_crc32::crc32;
fn main() {
assert_eq!(0xD87F7E0C, crc32!("test"));
}