2 个版本
0.1.1 | 2024 年 7 月 9 日 |
---|---|
0.1.0 | 2024 年 7 月 1 日 |
#226 in 调试
487 每月下载量
在 3 crates 中使用
14KB
120 代码行
测试 Debug
和 Display
实现(使用 no_std
)
通过 assert_debug_fmt!
和 assert_display_fmt!
宏测试 no_std
目标上的 Debug
和 Display
实现
assert_debug_fmt!(your_type, "expected debug format output");
assert_display_fmt!(your_type, "expected display format output");
要求
- Rust 1.64+
行为准则
我们遵守 贡献者公约 并要求您也这样做。
许可证
版权所有 © 2024 Markus Mayer
三重许可,您可以选择以下之一
- 欧洲联盟公共许可证,版本 1.2,(LICENSE-EUPL 或 https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12)
- Apache 许可证,版本 2.0,(LICENSE-APACHE 或 https://apache.ac.cn/licenses/LICENSE-2.0)
- MIT 许可证 (LICENSE-MIT 或 http://opensource.org/licenses/MIT)