libbz2 bindings for Haskell

root

bz2

High-level bindings to bzip2.

Comparison

Compared to bzlib:

  • Bundles bzip2 1.0.8.
  • Compatible with GHC 8.8+
  • Uses c2hs rather than hsc2hs and thus has a larger dependency footprint

Unlike pipes-bzip and bzlib-conduit, bz2 can be cross-compiled.

Backpack Integration

bz2 implements bzip-signature, which makes it interchangeable with bzlib.