tc-value

Crates.iotc-value
lib.rstc-value
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
Haydn Vestal

documentation

README

This crate is used internally by TinyChain. It provides a generic Value type which supports (de)serialization with [serde](https://docs.rs/serde/) and [destream](https://docs.rs/destream/) as well as equality and collation. Example: ```rust 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](http://github.com/haydnv/tinychain)
Commit count: 3128

cargo fmt