uchrono

Crates.iouchrono
lib.rsuchrono
version0.1.1
sourcesrc
created_at2023-10-22 13:10:17.435656
updated_at2023-10-23 17:55:46.232453
descriptionA no_std compatible time point and duration library
homepage
repositoryhttps://github.com/AndWass/uchrono
max_upload_size
id1010577
size17,620
Andreas W (AndWass)

documentation

README

A no_std compatible time point and duration library.

Duration

The Duration type is inspired by smoltcp::time::Duration and embassy_time::Duration but allows for negative duration values as well.

Time points

The TimePoint type is keyed on which Clock it originates from. This catches errors such as accidentally comparing time points from different clocks.

Features

  • std - enabled by default.
Commit count: 5

cargo fmt