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.2.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
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.17), 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 |
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 2022-11-15T07:48:03Z |
Distributions | |
Downloads | 290 total (4 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-11-15 [all 1 reports] |