Skip to content

Commit

Permalink
Bump cargo version to 0.4.0 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
whizsid authored Oct 17, 2024
1 parent bea0749 commit 7a5f83f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 12 deletions.
43 changes: 32 additions & 11 deletions CHANGELOG.md
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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7a5f83f

Please sign in to comment.