Closed daniestevez closed 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.
Digest<'a, W>
Clone
W: Clone + Width
Digest<'a, W> = Digest<'a, W, Table<1>>
Table<const L: usize>
Thanks for reporting, pushed 3.2.1 with the fix.
Thanks for fixing this!
Before crc-3.2.0,
Digest<'a, W>
wasClone
ifW: Clone + Width
. In crc-3.2.0,Digest<'a, W> = Digest<'a, W, Table<1>>
, which is notClone
becauseTable<const L: usize>
is neverClone
. This is an API-breaking change.