Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for #![no_std] #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ogoffart
Copy link

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?

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant