1 stable release

1.0.0 Dec 26, 2021

#1968 in Encoding

CC-PDDC license

155KB
4K SLoC

Valuable Value in Rust

Implementation of the valuable value specification in rust.

https://docs.rs/valuable_value


lib.rs:

An implementation of the valuable value specification.

Provides a general Value type for working with valuable values of arbitrary shape, and serde serializers and deserializers for both the human-readable encoding and the compact encoding.

There is no support for the canonic encoding because the serde API is not flexible enough to incorporate the required canonicity checks.

Enable the arbitrary feature for an implementation of the Arbitrary trait for the Value type and further utilities for property testing.

Dependencies

~0.7–1.3MB
~30K SLoC