BSD-3-Clause licensed by Vanessa McHale
Maintained by [email protected]
This version can be pinned in stack with:bz2-1.0.1.2@sha256:1960afedf2daa90e73985df95496553ccd862d29047aa38a7546f22700ffd4ce,4000

Module documentation for 1.0.1.2

Depends on 2 packages(full list with versions):
Used by 1 package in nightly-2024-12-21(full list with versions):

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.

Changes

bz2

1.0.1.2

  • Rollback dependency on bzip-clib since bundled sources were not vulnerable to CVE-2019-12900

1.0.1.1

1.0.1.0

  • Add decompressErr

1.0.0.3

  • Fix bug decompressing partial data

1.0.0.2

  • Change buffering parameters for speed
  • Add benchmarks relative to bzlib, bzip-pipes, bzlib-conduit

1.0.0.1

  • Pass -O3 to cc-options

1.0.0.0

  • Remove Codec.Compression.BZip.Foreign
  • Use ForeignPtr under the hood
  • Lazier streaming; memory use should be sensible

0.1.1.2

  • Use ForeignPtrs under the hood in various places (over bracket)

0.1.1.1

  • Haddock improvements

0.1.1.0

  • Change type signature of bZ2BzlibVersion
  • Add Codec.Compression.BZip module

0.1.0.1

  • Fix distribution

0.1.0.0

Initial release