This package provides a simple compatibility shim that lets you work with both binary and cereal with one chunk of serialization code.
Contact Information
Contributions and bug reports are welcome!
Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.
-Edward Kmett
Changes
0.17.2 [2022.05.07]
Allow building with mtl-2.3.* and transformers-0.6.*.
0.17.1 [2021.02.17]
The build-type has been changed from Custom to Simple.
To achieve this, the doctests test suite has been removed in favor of using
cabal-docspec
to run the doctests.
Provide the Serial Natural instance unconditionally.
Allow building with bytestring-0.11.*.
0.17 [2020.02.03]
Give MonadGet m a superclass of
forall a b. Coercible a b => Coercible (m a) (m b) when built against
GHC 8.6 or later. This allows Serial instances to be derived using
GeneralizedNewtypeDeriving or DerivingVia when using in tandem with
StandaloneDeriving.
0.16 [2019.08.27]
Support GHC-8.8.
MonadGet now requires MonadFail as a superclass.
0.15.5 [2018.07.03]
Add Serial(1) instances for NonEmpty.
0.15.4 [2018.04.05]
Use a significantly simpler Setup.hs script.
0.15.3
Support GHC 8.2
Revamp Setup.hs to use cabal-doctest. This makes it build
with Cabal-2.0, and makes the doctests work with cabal new-build and
sandboxes.
0.15.2
Support ghc 8
Support time 1.6
Support binary 0.8
Support transformers 0.5
0.15.1
Drop Trustworthy claim in Data.Bytes.Put as we now can sometimes infer Safe.
Bump cereal bound for 0.5.0.0
Add instance Serial Natural
0.15.0.1
Updated github URLs in the .cabal file.
We now compile without warnings on GHC 7.10.
0.15
Fixed a serious bug in the semantics of generic Serial1 generation for the recursive case and improved Generic1 support for :.:.