#string #hopefully #timestamp #convert #function #representation #collection

stringutils

一系列各种(希望是)有用的字符串实用函数集合

3 个版本

使用旧的 Rust 2015

0.0.3 2021年5月11日
0.0.2 2021年1月2日
0.0.1 2018年4月16日

#1427文本处理

MIT 许可证

4KB

rust-stringutils

此 crate 包含 Rust 的各种字符串实用函数,希望它们是有用的。根据需要添加新函数。

概述

  • byte_array_to_string: 将类型为 [u8] 的切片转换为 String
  • timestamp_to_string: 将时间戳(以秒为单位)转换为可读表示形式。

依赖项

  • 版本 0.0.2 的 libc crate。

没有运行时依赖