3 releases
0.1.2 | Nov 22, 2019 |
---|---|
0.1.1 | Nov 22, 2019 |
0.1.0 | Nov 22, 2019 |
#26 in #crc32
1,074 downloads per month
Used in shards
3KB
compile-time-crc32
A macro for taking the crc32 of a string or bytes literal at runtime.
Example:
use compile_time_crc32::crc32;
fn main() {
assert_eq!(0xD87F7E0C, crc32!("test"));
}
Dependencies
~1.5MB
~39K SLoC