temps

Crates.iotemps
lib.rstemps
version0.0.15
sourcesrc
created_at2022-11-20 21:29:47.454029
updated_at2024-02-23 00:17:10.580081
descriptiontemps is a library for working with time and dates in Rust
homepage
repositoryhttps://github.com/icepuma/temps
max_upload_size
id719414
size9,233
Stefan Ruzitschka (icepuma)

documentation

README

temps

temps or [tã] is a library for working with time and dates in Rust.

Usage

Add temps to your Cargo.toml.

temps = "0"

hh:mm:ss

I migrated the functionality of hhmmss into temps as it is not actively maintained anymore.

let duration = std::time::Duration::new(10, 0); // also works for "chrono::Duration" and "time::Duration"

duration.hhmmss() // yields "00:00:10"
duration.hhmmssxxx() // yields "00:00:10.000"
Commit count: 31

cargo fmt