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

Download history 37/week @ 2022-02-02 37/week @ 2022-02-09 14/week @ 2022-02-16 53/week @ 2022-02-23 18/week @ 2022-03-02 21/week @ 2022-03-09 74/week @ 2022-03-16 36/week @ 2022-03-23 5/week @ 2022-03-30 29/week @ 2022-04-06 40/week @ 2022-04-13 29/week @ 2022-04-20 161/week @ 2022-04-27 151/week @ 2022-05-04 271/week @ 2022-05-11 76/week @ 2022-05-18

662 downloads per month
Used in less than 7 crates

Apache-2.0

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