mrhooray / crc-rs

Rust implementation of CRC(16, 32, 64) with support of various standards
Apache License 2.0
188 stars 49 forks source link

Compile-time generation of custom CRC table #50

Closed akhilles closed 4 years ago

akhilles commented 4 years ago

Pre-requisite for v2 API @ https://github.com/mrhooray/crc-rs/issues/48.

NOTE: const eval is very limited atm (no loops, conditionals, or allocs). Most of the hacky code in this PR can be replaced once certain const eval features get stabilized.

This change bumps MSRV to 1.34.0.