17 unstable releases (3 breaking)
0.4.0 | Apr 15, 2022 |
---|---|
0.3.0 | Feb 4, 2022 |
0.2.5 | Dec 8, 2021 |
0.2.4 | Nov 5, 2021 |
0.1.2 | Mar 31, 2021 |
#249 in Data structures
662 downloads per month
Used in less than 7 crates
46KB
1K
SLoC
This crate is used internally by TinyChain. It provides generic Id, Map, and Tuple types.
Example:
use safecast::TryCastFrom;
use tcgeneric::{Id, Map, Tuple};
let tuple = Tuple::<(Id, String)>::from_iter(vec![]);
assert_eq!(Map::opt_cast_from(tuple).unwrap(), Map::default());
For more information on TinyChain, see: http://github.com/haydnv/tinychain
lib.rs
:
Provides generic data types used across multiple TinyChain sub-crates.
This library is a part of TinyChain: http://github.com/haydnv/tinychain
Dependencies
~2.7–4MB
~91K SLoC