tc-value

Crates.iotc-value
lib.rstc-value
version0.12.0
sourcesrc
created_at2021-02-21 02:00:13.808208
updated_at2024-01-29 12:32:21.670576
descriptionTinyChain's representation of a value which can be collated and stored.
homepage
repositoryhttps://github.com/haydnv/tinychain.git
max_upload_size
id358307
size76,408
Haydn Vestal (haydnv)

documentation

README

This crate is used internally by TinyChain. It provides a generic Value type which supports (de)serialization with serde and destream as well as equality and collation.

Example:

use safecast::CastFrom;
use tcgeneric::Tuple;

let row = Value::cast_from(("name", 12345));
assert_eq!(row, Value::Tuple(Tuple::from(vec![Value::String("name"), Value::Number(12345.into())])));

For more information on TinyChain, see http://github.com/haydnv/tinychain

Commit count: 3128

cargo fmt