serialise: A binary serialisation library for Haskell values.
This package (formerly binary-serialise-cbor
) provides pure, efficient
serialization of Haskell values directly into ByteString
s for storage or
transmission purposes. By providing a set of type class instances, you can
also serialise any custom data type you have as well.
The underlying binary format used is the 'Concise Binary Object Representation', or CBOR, specified in RFC 7049. As a result, serialised Haskell values have implicit structure outside of the Haskell program itself, meaning they can be inspected or analyzed without custom tools.
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.
Modules
[Index] [Quick Jump]
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
newtime15 | Use the new time 1.5 library | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- serialise-0.2.5.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.3.0, 0.2.4.0, 0.2.5.0, 0.2.6.0, 0.2.6.1 |
---|---|
Change log | ChangeLog.md |
Dependencies | array (>=0.4 && <0.6), base (>=4.7 && <4.17), bytestring (>=0.10.4 && <0.12), cborg (>=0.2 && <0.3), containers (>=0.5 && <0.7), ghc-prim (>=0.3.1.0 && <0.9), half (>=0.2.2.3 && <0.4), hashable (>=1.2 && <2.0), old-locale, primitive (>=0.5 && <0.8), strict (>=0.4 && <0.5), text (>=1.1 && <2.1), these (>=1.1 && <1.2), time (>=1.4 && <1.14), unordered-containers (>=0.2 && <0.3), vector (>=0.10 && <0.13) [details] |
Tested with | ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.4, ghc ==8.6.5, ghc ==8.8.3, ghc ==8.10.1, ghc ==9.0.1, ghc ==9.2.2 |
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 |
Category | Codec |
Home page | https://github.com/well-typed/cborg |
Bug tracker | https://github.com/well-typed/cborg/issues |
Source repo | head: git clone https://github.com/well-typed/cborg.git |
Uploaded | by FinleyMcIlwaine at 2022-04-22T22:45:33Z |
Distributions | Arch:0.2.6.1, Debian:0.2.3.0, Fedora:0.2.6.0, LTSHaskell:0.2.6.1, NixOS:0.2.6.1, Stackage:0.2.6.1, openSUSE:0.2.6.1 |
Reverse Dependencies | 44 direct, 1975 indirect [details] |
Downloads | 29964 total (316 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2022-04-22 [all 1 reports] |