#time #duration #datatype #type #human-readable

human-readable-time

A data structure for managing a human readable time

7 releases (4 breaking)

0.4.0 Nov 1, 2021
0.3.0 Oct 26, 2021
0.2.0 Oct 23, 2021
0.1.2 Oct 22, 2021
0.0.1 Oct 21, 2021

#236 in Value formatting

MIT license

23KB
320 lines

human-readable-time

Build MIT License API docs crates.io

Getting Started

Examples are available for several use-cases, check out the examples folder.

  1. Create a new Rust project: cargo new example

  2. Add dependencies to this create to your Cargo.toml file:

    [dependencies.human-readable-time]
    version = "0.4.0"
    default-features = false
    
  3. Use it 😉

Minimum Supported Rust Version (MSRV)

The MSRV for this tool ist 1.56.0 since it uses rust 2021 edition features.

License

This project is licensed under the MIT License.

Dependencies

~4–5.5MB
~86K SLoC