22 releases (7 breaking)
|0.8.0||Jan 15, 2023|
|0.7.0||Sep 14, 2022|
|0.6.0||May 30, 2022|
|0.4.0||Feb 4, 2022|
|0.1.4||Mar 10, 2021|
#470 in Data structures
169 downloads per month
Used in 6 crates
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.
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
Provides a generic scalar [
Value] enum which supports collation.
This library is part of TinyChain: http://github.com/haydnv/tinychain