cborg: Concise Binary Object Representation

[ bsd3, codec, library ] [ Propose Tags ]

This package (formerly binary-serialise-cbor) provides an efficient implementation of the Concise Binary Object Representation (CBOR), as specified by RFC 7049.

If you are looking for a library for serialisation of Haskell values, have a look at the serialise package, which is built upon this library.

An implementation of the standard bijection between CBOR and JSON is provided by the cborg-json package. Also see cbor-tool for a convenient command-line utility for working with CBOR data.

Dependencies array (>=0.4 && <0.6), base (>=4.6 && <5.0), bytestring (>=0.10.4 && <0.11), containers (==0.5.*), fail (==4.9.*), ghc-prim (>= && <0.6), half (>= && <0.4), integer-gmp, primitive (>=0.5 && <0.7), semigroups (==0.18.*), text (>=1.1 && <1.3) [details]
License BSD-3-Clause
Copyright 2015-2017 Duncan Coutts, 2015-2017 Well-Typed LLP, 2015 IRIS Connect Ltd
Author Duncan Coutts
Maintainer duncan@community.haskell.org, ben@smart-cactus.org
Revised Revision 2 made by AustinSeipp at Wed Jul 18 18:38:17 UTC 2018
Category Codec
Bug tracker https://github.com/well-typed/cborg/issues
Source repo head: git clone https://github.com/well-typed/cborg.git
Uploaded by BenGamari at Thu Nov 30 00:53:08 UTC 2017
Distributions LTSHaskell:, NixOS:
Downloads 3501 total (94 in the last 30 days)
Rating 2.5 (votes: 4) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-11-30 [all 1 reports]
Hackage Matrix CI





Use optimized code paths for integer-gmp


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees