3 个版本
| 0.3.15 | 2024年4月27日 |
|---|---|
| 0.3.14 | 2024年4月23日 |
| 0.3.13 |
|
| 0.2.5 |
|
| 0.1.1 |
|
#1091 in 异步
每月 526 次下载
在 17 个 crate 中使用(8 个直接使用)
170KB
4.5K SLoC
Agnostic-Lite
简介
agnostic-lite 是 agnostic 的大 Runtime trait 的多个小型 trait 的拆分。
agnostic-lite 将 agnostic 中的大 Runtime trait 拆分为多个小型 trait
AsyncSpawner:用于启动任务的 traitAsyncLocalSpawner:用于启动本地任务的 traitAsyncSleep:用于睡眠功能的 traitAsyncInterval:用于间隔功能的 traitAsyncTimeout:用于超时功能的 trait
内置支持的运行时
tokioasync-stdsmolwasm-bindgen-futures
安装
[dependencies]
agnostic-lite = "0.2"
许可证
agnostic-lite 受 MIT 许可证和 Apache 许可证(版本 2.0)的约束。
详见 LICENSE-APACHE、LICENSE-MIT。
版权所有 (c) 2024 Al Liu。
依赖关系
~0.9–13MB
~151K SLoC