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

stringutils

A collection of various and (hopefully) useful String utility functions

3 releases

Uses old Rust 2015

0.0.3 May 11, 2021
0.0.2 Jan 2, 2021
0.0.1 Apr 16, 2018

#1452 in Text processing

MIT license

4KB

rust-stringutils

This crate contains various string utility functions for Rust, hopefully useful ones. New functions are added as needed.

Overview

  • byte_array_to_string: Convert a slice of type [u8] to a String.
  • timestamp_to_string: Convert a timestamp (in seconds) into a human-readable representation.

Dependencies

  • The libc crate (as of version 0.0.2).

No runtime deps