tcgeneric

Crates.iotcgeneric
lib.rstcgeneric
version0.10.0
sourcesrc
created_at2021-02-21 01:26:03.450255
updated_at2024-01-29 12:30:07.41998
descriptionGeneric data types used internally by TinyChain
homepage
repositoryhttps://github.com/haydnv/tinychain.git
max_upload_size
id358293
size23,678
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