7个版本 (4个重大更新)
| 0.4.0 | 2021年11月1日 |
|---|---|
| 0.3.0 | 2021年10月26日 |
| 0.2.0 | 2021年10月23日 |
| 0.1.2 | 2021年10月22日 |
| 0.0.1 | 2021年10月21日 |
#248 in 值格式化
23KB
320 行
human-readable-time
入门
有几个用例的示例可用,请查看示例文件夹。
-
创建一个新的Rust项目:
cargo new example -
将依赖项添加到创建的项目的
Cargo.toml文件中[dependencies.human-readable-time] version = "0.4.0" default-features = false -
使用它 😉
最低支持的Rust版本(MSRV)
由于它使用了2021版功能,该工具的MSRV为1.56.0
许可
本项目受MIT许可协议保护。
依赖项
约3.5–5.5MB
约85K SLoC