In general, the API remains spiritually unchanged, but has had a facelift to be more consistent with the APIs of other compression oriented crates, such as
flate2. Namely, previous uses of
snap::Writer should now use
snap::write::FrameEncoder, respectively. Also, thanks to the hard work of @emk, there is now also a
snap::read::FrameEncoder, which reads from an uncompressed source and yields compressed bytes. (Kudos to his patience here. It took me almost two years to merge his PR!)
I've also removed all dependencies from
snap and added hardware acceleration for computing checksums (when available).