instant icon indicating copy to clipboard operation
instant copied to clipboard

Add support for #![no_std]

Open ogoffart opened this issue 1 year ago • 0 comments

I'm working in a library that should be used on wasm and also on MCU platform with #[no_std]. I thought this crate would be a good fit to also have an Instant that can also work in #[no_std].

This allow to use Instant in no_std crate. Added a Instant::from_duration that can be used to construct an instant from a Duration when not using the Rust std lib

What do you think?

ogoffart avatar Jul 25 '22 17:07 ogoffart