Crates.io | fugit |
lib.rs | fugit |
version | 0.3.7 |
source | src |
created_at | 2021-10-28 09:22:50.297589 |
updated_at | 2023-06-06 07:06:51.754829 |
description | Time library for embedded targets with ease-of-use and performance first. |
homepage | |
repository | https://github.com/korken89/fugit |
max_upload_size | |
id | 473495 |
size | 168,889 |
fugit
fugit
provides a comprehensive library ofDuration
andInstant
for the handling of time in embedded systems, doing all it can at compile time.
This library is a heavily inspired of std::chrono
's Duration
from C++ which does all it can at compile time.
no_std
library with goals of user-friendliness and performance first
const fn
that can be (i.e. non-trait methods)const
-ificationu32
and u64
backing storage with efficient instruction lowering on MCUs
u32
and u64
except when changing base on u64
u32
and u64
do not use division, only changing base with all constants calculated at compile time