Haskell bindings to the Zstandard compression algorithm https://github.com/luispedro/hs-zstd

Version on this page:
LTS Haskell 13.25:
Stackage Nightly 2019-06-12:
Latest on Hackage:

See all snapshots zstd appears in

Zstandard bindings for Haskell


This library provides Haskell bindings to the Zstandard compression library.

The library is structured to provide several layers of abstraction.

  • For the simplest use cases, the top-level Zstd module is the best place to get started.

  • If you need to stream a large amount of data with a constant memory footprint, use the Zstd.Streaming module. This can also be used as a building block for adapting to streaming libraries such as pipes and conduit. (If you need to use lazy bytestrings instead, see the Zstd.Lazy module. This is built using the abstractions from the Zstd.Streaming module.)

  • When your usage is dominated by lots of small messages (presumably using pre-computed compression dictionaries), use the Zstd.Efficient module to amortize the cost of allocating and initializing context and dictionary values.

Join in

If you’d like to help improve the code, please read the contribution guidelines. This discusses how to file bugs and submit changes to the code itself.

API documentation

The APIs should be easy to understand and work with, and you can find documentation on Hackage.


Version 2019-05-20 by luispedro
* Re-release v0.1.1.1 with updated info

Version 2019-05-18 by luispedro (released as hs-zstd)
* Add missing files to package

Version 2019-05-18 by luispedro (release as hs-zstd)
* Fix bugs
* Update to newer zstd version


* Initial release
Depends on 4 packages:
Used by 1 package:
comments powered byDisqus