cborg: Concise Binary Object Representation (CBOR)

[ bsd3, codec, library ] [ Propose Tags ] [ Report a vulnerability ]

This package 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.

This package was formerly known as binary-serialise-cbor.

Flags

Automatic Flags
NameDescriptionDefault
optimize-gmp

Use optimized code paths for integer-gmp

Enabled

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

Downloads

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'.

Versions [RSS] 0.1.1.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.2.1, 0.2.3.0, 0.2.4.0, 0.2.5.0, 0.2.6.0, 0.2.7.0, 0.2.8.0, 0.2.9.0, 0.2.10.0
Change log ChangeLog.md
Dependencies array (>=0.4 && <0.6), base (>=4.11 && <4.21), bytestring (>=0.10.4 && <0.13), containers (>=0.5 && <0.8), deepseq (>=1.0 && <1.6), fail (>=4.9 && <4.10), ghc-bignum (>=1.0 && <2.0), ghc-prim (>=0.3.1.0 && <0.12), half (>=0.2.2.3 && <0.4), integer-gmp (>=1.0 && <2.0), primitive (>=0.5 && <0.10), semigroups (>=0.18 && <0.21), text (>=1.1 && <1.3 || >=2.0 && <2.2) [details]
Tested with ghc ==8.4.4, ghc ==8.6.5, ghc ==8.8.3, ghc ==8.10.7, ghc ==9.0.1, ghc ==9.2.2, ghc ==9.4.2, ghc ==9.6.1
License BSD-3-Clause
Copyright 2015-2019 Duncan Coutts, 2015-2019 Well-Typed LLP, 2015 IRIS Connect Ltd
Author Duncan Coutts
Maintainer duncan@community.haskell.org, ben@smart-cactus.org
Revised Revision 1 made by ErikDeCastroLopo at 2024-06-10T20:33:52Z
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 2023-11-14T01:01:02Z
Distributions Arch:0.2.9.0, Debian:0.2.4.0, Fedora:0.2.9.0, LTSHaskell:0.2.10.0, NixOS:0.2.10.0, Stackage:0.2.10.0, openSUSE:0.2.10.0
Reverse Dependencies 17 direct, 2007 indirect [details]
Downloads 36432 total (328 in the last 30 days)
Rating 2.5 (votes: 6) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]