From 7a5f83f98bed85e8d3c20c259ccebeaa9487bf62 Mon Sep 17 00:00:00 2001 From: WhizSid Date: Thu, 17 Oct 2024 23:52:46 +0530 Subject: [PATCH] Bump cargo version to 0.4.0 (#21) --- CHANGELOG.md | 43 ++++++++++++++++++++++++++++++++----------- Cargo.toml | 2 +- 2 files changed, 33 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6a4a5c..360fb6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 1223f3c..08dc6a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 ", "Pierre Krieger "] license = "MIT" repository = "https://github.com/whizsid/wasmtimer-rs"