binary-serialise-cbor alternatives and similar packages
Based on the "Codec" category.
Alternatively, view binary-serialise-cbor alternatives based on common mentions on social networks and blogs.
-
ffmpeg-light
Minimal Haskell bindings to the FFmpeg library -
pure-zlib
A Haskell-only implementation of zlib / DEFLATE. -
zlib
Compression and decompression in the gzip and zlib formats -
zip-archive
Native Haskell library for working with zip archives -
utf8-string
Support for reading and writing UTF8 Strings in Haskell -
snappy
Fast Haskell bindings to Google's Snappy compression library -
multihash-serialise
Haskell libraries for interacting with IPFS -
postgresql-binary
Encoders and decoders for the PostgreSQL's binary format -
lzma-conduit
Conduit interface for lzma/xz compression -
base32-bytestring
Efficient base32 codec for bytestrings. -
HCodecs
A library to read, write and manipulate MIDI, WAVE, and SoundFont2 files -
html-entities
A codec library for HTML-escaped text and HTML-entities -
zip-stream
Haskell ZIP archive streaming processing using conduit -
friday-juicypixels
Convert between friday and juicypixels types -
zlib-bindings
Low-level wrapper around the zlib library -
hs-zstd
Bindings to the Zstandard library to make it usable from the Haskell programming language. -
activitystreams-aeson
Basic library for working with Activity Streams -
libvorbis
Haskell binding for libvorbis, for decoding Ogg Vorbis audio files -
threefish
Haskell implementation of the Threefish block cipher and the Skein hash function built on it. -
logic-TPTP
Import, export etc. for TPTP, a syntax for first-order logic -
base32-z-bytestring
Efficient z-base32 codec for bytestrings. -
iteratee-compress
Enumerators for compressing and decompressing streams -
streaming-brotli
Streaming interface for Brotli (RFC7932) compression -
bzlib-conduit
Streaming compression/decompression via conduits.
Clean code begins in your IDE with SonarLint
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of binary-serialise-cbor or a related project?
README
Fast binary serialisation and CBOR implementation for Haskell
This repo contains two libraries (plus associated tools):
The serialise
library is for serialising Haskell values and deserialising
them later.
The cborg
library provides a fast, standards-compliant implementation of the
'Concise Binary Object Representation' (specified in RFC 7049
) for Haskell.
The serialise
library uses the CBOR format, via the cborg
library, which
gives it the following benefits:
- fast serialisation and deserialisation
- compact binary format
- stable format across platforms (32/64bit, big/little endian)
- support for backwards compatible deserialisation with migrations
- the ability to inspect binary values with generic tools, e.g. for debugging or recovery, including generic conversion into JSON text
- potential to read the serialised format from other languages
- incremental or streaming (de)serialisation
- internal message framing (for use in network application)
- suitable to use with untrusted input (resistance to asymmetric resource consumption attacks)
Installation
They are just a cabal install
away on Hackage:
$ cabal install cborg serialise
There are also a few related packages that you may be interested in:
cborg-json
implements the bijection between JSON and CBOR specified in the RFC.cbor-tool
is a handy command-line utility for working with CBOR data.
Join in
Be sure to read the contributing guidelines. File bugs in the GitHub issue tracker.
Master git repository:
git clone https://github.com/well-typed/cborg.git
The tests for the cborg
package are currently included in the serialise
package.
$ cabal test serialise
Authors
See AUTHORS.txt.
License
BSD3. See LICENSE.txt for the exact terms of copyright and redistribution.
*Note that all licence references and agreements mentioned in the binary-serialise-cbor README section above
are relevant to that project's source code only.