Skip to content

Commit

Permalink
Mark the crate as unmaintained.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebcrozet committed May 17, 2024
1 parent 5f6d4bb commit d94beba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@
name = "instant"
version = "0.1.12"
authors = ["sebcrozet <[email protected]>"]
description = "A partial replacement for std::time::Instant that works on WASM too."
description = "Unmaintained, consider using web-time instead - A partial replacement for std::time::Instant that works on WASM to."

This comment has been minimized.

Copy link
@sisou

sisou Jul 5, 2024

too was right, though ;)

repository = "https://github.com/sebcrozet/instant"
readme = "README.md"
license = "BSD-3-Clause"
keywords = [ "time", "wasm" ]
edition = "2018"

[badges]
maintenance = { status = "looking-for-maintainer" }

[features]
wasm-bindgen = ["js-sys", "wasm-bindgen_rs", "web-sys"]
inaccurate = []
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Instant

**This crate is no longer maintained. Please consider creating a fork or using `web-time` instead. Or reach out if
you are interested in taking over its maintenance.**

If you call `std::time::Instant::now()` on a WASM platform, it will panic. This crate provides a partial
replacement for `std::time::Instant` that works on WASM too. This defines the type `instant::Instant` which is:

Expand Down

0 comments on commit d94beba

Please sign in to comment.