24 unstable releases (10 breaking)

0.11.0 Aug 14, 2024
0.10.0 Jan 29, 2024
0.9.0 Dec 20, 2023
0.8.1 Nov 6, 2023
0.1.2 Mar 31, 2021

#1521 in Data structures

Download history 46/week @ 2024-08-26 5/week @ 2024-09-02 9/week @ 2024-09-09 30/week @ 2024-09-16 63/week @ 2024-09-23 45/week @ 2024-09-30 1/week @ 2024-10-07 3/week @ 2024-10-14 9/week @ 2024-10-21 3/week @ 2024-10-28 10/week @ 2024-11-04 14/week @ 2024-11-18 15/week @ 2024-11-25 20/week @ 2024-12-02 83/week @ 2024-12-09

132 downloads per month
Used in 13 crates

Apache-2.0

44KB
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

~5–7MB
~131K SLoC