tcgeneric

Crates.iotcgeneric
lib.rstcgeneric
version0.11.0
sourcesrc
created_at2021-02-21 01:26:03.450255
updated_at2024-08-14 00:06:00.214223
descriptionGeneric data types used internally by TinyChain
homepage
repositoryhttps://github.com/haydnv/tinychain.git
max_upload_size
id358293
size25,179
Haydn Vestal (haydnv)

documentation

README

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

Commit count: 3128

cargo fmt