-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
33 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,32 @@ | ||
- 0.0.1 - Initial version with tokio, tokio_util, std APIs | ||
- 0.1.0 - Added serde support with an additional feature `serde`. | ||
- Changed the version requirements of dependencies to match future versions | ||
- 0.2.0 - Used `performance` and `set_timeout` from `js_sys::global`. | ||
- Fixed #3 NodeJS Support | ||
- Fixed #5 Web Worker Support | ||
- 0.2.1 - Fixing the clippy warnings | ||
- fix: impl traits on SystemTime | ||
- Fix example inclusion | ||
- 0.3.0 - Added new methods (`checked_duration_since`, `saturating_duration_since`, `checked_add` and `checked_sub`) methods. | ||
- Fixed micro seconds precision lost issue | ||
# CHANGELOG | ||
|
||
## 0.4.0 | ||
|
||
- Added a NodeJS example project [#19](https://github.com/whizsid/wasmtimer-rs/pull/19). | ||
- Changed the behavior of `tokio::interval` to do the first tick immediately as in the original `tokio` crate [#20](https://github.com/whizsid/wasmtimer-rs/pull/20), [#12](https://github.com/whizsid/wasmtimer-rs/issues/12). | ||
|
||
## 0.3.0 | ||
|
||
- Added new methods (`checked_duration_since`, `saturating_duration_since`, `checked_add` and `checked_sub`) to `std::time::Instant`. [#16](https://github.com/whizsid/wasmtimer-rs/pull/16), [#9](https://github.com/whizsid/wasmtimer-rs/issues/9). | ||
- Fixed micro seconds precision lost issue. [#10](https://github.com/whizsid/wasmtimer-rs/issues/10) | ||
|
||
## 0.2.1 | ||
|
||
- Fixed the clippy warnings [#14](https://github.com/whizsid/wasmtimer-rs/pull/14). | ||
- Implemented the `Debug`, `Copy`, `Clone` and `Display` traits for `std::time::SystemTime` [#13](https://github.com/whizsid/wasmtimer-rs/pull/13). | ||
- Fixed the example on README file [#11](https://github.com/whizsid/wasmtimer-rs/pull/11). | ||
|
||
## 0.2.0 | ||
|
||
- Used `performance.now()` and `setTimeout` from global scope instead of window [#7](https://github.com/whizsid/wasmtimer-rs/pull/7). | ||
- NodeJS Support [#3](https://github.com/whizsid/wasmtimer-rs/issues/3). | ||
- Web Worker Support [#5](https://github.com/whizsid/wasmtimer-rs/issues/5). | ||
|
||
## 0.1.0 | ||
|
||
- Added serde support under a feature flag `serde` [#6](https://github.com/whizsid/wasmtimer-rs/pull/6), [#1](https://github.com/whizsid/wasmtimer-rs/issues/1). | ||
- Changed the version requirements of dependencies to match future versions. | ||
|
||
## 0.0.1 | ||
|
||
- Initial version with tokio, tokio_util, std APIs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "wasmtimer" | ||
edition = "2021" | ||
description = "Time utils from std::time, tokio::time and tokio_util::time on WASM targets" | ||
version = "0.3.0" | ||
version = "0.4.0" | ||
authors = ["WhizSid <[email protected]>", "Pierre Krieger <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/whizsid/wasmtimer-rs" | ||
|