mrhooray / crc-rs

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

`Digest<'a, W>` is no longer `Clone` in crc-3.2.0 #118

Closed daniestevez closed 6 months ago

daniestevez commented 6 months ago

Before crc-3.2.0, Digest<'a, W> was Clone if W: Clone + Width. In crc-3.2.0, Digest<'a, W> = Digest<'a, W, Table<1>>, which is not Clone because Table<const L: usize> is never Clone. This is an API-breaking change.

akhilles commented 6 months ago

Thanks for reporting, pushed 3.2.1 with the fix.

daniestevez commented 6 months ago

Thanks for fixing this!