package data-encoding
Install
Dune Dependency
Authors
Maintainers
Sources
md5=0c97d67c12d905800c9f80f718c3429e
sha512=801cd42bb52a7de52bcf6059d08617e40a9b0b53dbd98b5f33b8813c6640c47cd13a9bb8ee83541b2346edd7a2ed7c6f0d9ea67c0933d62ca135a335c2f2970f
CHANGES.md.html
CHANGES.md
v0.1: Initial Release
v0.1.1:
customizable initial size for internal buffer
remove single lwt related function and lwt dependency
v0.2:
CI tests
error management improvements (use result, allow exn and option)
do not print 0-sized fields in binary descriptions
v0.3:
Adapt to json-data-encoding.0.9.1 and provide json-lexeme seq to string seq
Improved performance
maximum_length
to determine static size bounds (when possible)provide
to_
/of_string
alongsideto_
/of_bytes
Improved documentation
Increase test coverage
Fix JSON encoding of Result
v0.4:
catch exceptions in user-provided functions
provide
conv_guard
to help enforce invariantsremove unused
read_error
constructor:Invalid_size
check that
int31
is actually withinint31
boundsadd "slicing" feature to analyse binary encoded values
v0.5:
add compact encoding combinators
add fixed-length list and fixed-length array combinators
fix bug wherein
mu (… option …)
caused an infinite recursionfix roundtrip property of BSON
fix error management of lazy encodings (consistent with non-lazy encodings)
add a default argument to
Json.construct
:?include_default_fields
, which is simply passed on toJson_encoding.construct
fix missing exported type