Skip to content

: Replace unmaintained instant with web-time.#391

Merged
emoon merged 1 commit intoemoon:masterfrom
AndreasOM:master
Nov 25, 2025
Merged

: Replace unmaintained instant with web-time.#391
emoon merged 1 commit intoemoon:masterfrom
AndreasOM:master

Conversation

@AndreasOM
Copy link
Copy Markdown
Contributor

The instant crate is unmaintained.
This PR replaces it with web-time.

It works for all my projects, but I do not have a wasm based project. The tests compile for wasm, but I didn't run them!

web-time re-exports Duration and Instant from std::time on non wasm platforms, so it can handle the platform abstraction internally.

@emoon emoon merged commit a0f6811 into emoon:master Nov 25, 2025
4 checks passed
@emoon
Copy link
Copy Markdown
Owner

emoon commented Nov 25, 2025

Thanks!

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.

2 participants