PSeitz / lz4_flex

Fastest pure Rust implementation of LZ4 compression/decompression.
MIT License
441 stars 28 forks source link

Avoid dependency on twox-hash unless "frame" feature set #47

Closed mjguynn closed 2 years ago

mjguynn commented 2 years ago

twox-hash is only used by the frame module, which is only compiled when the "frame" feature is set. This change makes lz4_flex a zero-dependency library unless the "frame" feature is used.

codecov-commenter commented 2 years ago

Codecov Report

Merging #47 (9ea8fa6) into main (2de9ebc) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #47   +/-   ##
=======================================
  Coverage   87.76%   87.76%           
=======================================
  Files          11       11           
  Lines        2280     2280           
=======================================
  Hits         2001     2001           
  Misses        279      279           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2de9ebc...9ea8fa6. Read the comment docs.

PSeitz commented 2 years ago

Awesome, thanks!