24 个不稳定版本 (10 个破坏性更新)

0.11.0 2024 年 8 月 14 日
0.10.0 2024 年 1 月 29 日
0.9.0 2023 年 12 月 20 日
0.8.1 2023 年 11 月 6 日
0.1.2 2021 年 3 月 31 日

#398数据结构

Download history · Rust 包仓库 21/week @ 2024-04-25 · Rust 包仓库 13/week @ 2024-05-02 · Rust 包仓库 12/week @ 2024-05-09 · Rust 包仓库 11/week @ 2024-05-16 · Rust 包仓库 22/week @ 2024-05-23 · Rust 包仓库 36/week @ 2024-05-30 · Rust 包仓库 18/week @ 2024-06-06 · Rust 包仓库 19/week @ 2024-06-13 · Rust 包仓库 20/week @ 2024-06-20 · Rust 包仓库 15/week @ 2024-06-27 · Rust 包仓库 74/week @ 2024-07-04 · Rust 包仓库 18/week @ 2024-07-11 · Rust 包仓库 25/week @ 2024-07-18 · Rust 包仓库 142/week @ 2024-07-25 · Rust 包仓库 32/week @ 2024-08-01 · Rust 包仓库 132/week @ 2024-08-08 · Rust 包仓库

338 每月下载量
用于 13 crates

Apache-2.0

44KB
1K SLoC

此crate被TinyChain内部使用。它提供了泛型Id、Map和Tuple类型。

示例

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());

有关TinyChain的更多信息,请参阅: http://github.com/haydnv/tinychain


lib.rs:

提供多个TinyChain子crate中使用的泛型数据类型。

此库是TinyChain的一部分: http://github.com/haydnv/tinychain

依赖项

~5–7MB
~131K SLoC