BSD-3-Clause licensed by Lennart Kolmodin, Galois Inc., Lemmih, Bas van Dijk
Maintained by Eric Mertens
This version can be pinned in stack with:cereal-0.5.8.3@sha256:87a227c7b510217ea059db3dd59d9665edd8f0d1d3d8de39458e371a1d9402fb,2767

Module documentation for 0.5.8.3

A binary serialization library, similar to binary, that introduces an isolate primitive for parser isolation, and labeled blocks for better error messages.

Changes

0.5.8.3

  • GHC 9.4.1 compatibility

0.5.8.1

  • GHC 8.8.1 compatibility

0.5.8.0

  • Added ShortByteString instances

0.5.7.0

  • Added runPutMBuilder

0.5.6.0

  • Added GSerializeGet and GSerializePut instances for V1

0.5.5.0

  • Added Semigroup instances

0.5.4.0

  • Allow building with older versions of GHC (thanks to Ryan Scott!)
  • Additional putters for ints (thanks to Andrew Martin!)

0.5.2.0

  • Implement the AMP recommended refactoring for the Functor/Applicative/Monad hierarchy for Get and PutM (thanks to Herbert Valerio Riedel!)
  • Unconditionally support GHC generics (thanks to Eric Mertens!)
  • Split the GSerialize class in two, to deal with a GHC bug (thanks Austin Seipp!)
  • No longer use Enum in the Serialize instance for Bool (thanks Francesco Mazzoli!)

0.5.1.0

  • Re-enable GHC.Generics support which was accidentally removed in 0.5.0.0

0.5.0.0

  • Switch to using the builder provided by the ByteString package
  • Change the encoding of Float and Double with the Serialize class to use the Data.Serialize.IEEE754 module
  • Add support for encoding and decoding ShortByteString
  • New and improved test suite thanks to Kei Hibino
  • Fix two bugs involving the lookAhead combinator and partial chunks.