19 releases (4 breaking)
0.5.0 | Apr 15, 2022 |
---|---|
0.4.0 | Feb 4, 2022 |
0.3.1 | Dec 8, 2021 |
0.2.3 | Nov 5, 2021 |
0.1.4 | Mar 10, 2021 |
#440 in Data structures
714 downloads per month
Used in less than 6 crates
125KB
3.5K
SLoC
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
lib.rs
:
Provides a generic scalar [Value
] enum which supports collation.
This library is part of TinyChain: http://github.com/haydnv/tinychain
Dependencies
~7.5MB
~159K SLoC