tc-value 0.1.12

Tinychain's representation of a value which can be collated and stored. Unstable.
Documentation

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