borsh: Implementation of BORSH serialisation
This package provides type classes and combinators for serialisation/deserialisation to/from Borsh format. Unlike CBOR, Borsh is a non self-describing serialisation format. It is designed such that any object serialises to a canonical and deterministic string of bytes.
The library supports incremental encoding and incremental decoding, and
supports the use of the ST
monad in the decoder for efficient decoding for
types such as arrays. However, the library has currently not been optimized
for speed, and there may well be low-hanging fruit to make it faster.
Downloads
- borsh-0.3.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
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
Candidates
- No Candidates
Versions [RSS] | 0.1.0, 0.2.0, 0.3.0 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.12 && <4.19), bytestring (>=0.10 && <0.12), containers (>=0.6 && <0.7), generics-sop (>=0.5 && <0.6), sop-core (>=0.5 && <0.6), text (>=1.2 && <2.1), vector (>=0.13 && <0.14), wide-word (>=0.1 && <0.2) [details] |
Tested with | ghc ==8.6.5, ghc ==8.8.3, ghc ==8.10.7, ghc ==9.0.2, ghc ==9.2.2 |
License | BSD-3-Clause |
Author | Edsko de Vries, Finley McIlwaine |
Maintainer | edsko@well-typed.com |
Revised | Revision 2 made by EdskoDeVries at 2024-05-21T11:49:45Z |
Category | Codec |
Bug tracker | https://github.com/well-typed/borsh/issues |
Source repo | head: git clone https://github.com/well-typed/borsh |
Uploaded | by EdskoDeVries at 2023-03-17T14:20:21Z |
Distributions | |
Downloads | 256 total (20 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 2023-03-17 [all 1 reports] |