Skip to content

Commit

Permalink
Merge pull request #93 from communityvi/release-new-versions
Browse files Browse the repository at this point in the history
Bump package versions
  • Loading branch information
FSMaxB authored Jan 13, 2025
2 parents 4b1da8f + 551ad7e commit 1805a27
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 11 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions async-time-mock-async-std/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog for async-time-mock-async-std

# 0.1.2
* Increase minimum rust version to `1.70`
* Add `MockableClock::system_time` to get the current `SystemTime`.
See [#82](https://github.com/communityvi/async-time-mock/issues/82).
* Turn `MockableClock::sleep` and `MockableClock::sleep_until` from async functions into functions returning `impl Future` with a `Send` and `'static` future type.
See [#81](https://github.com/communityvi/async-time-mock/issues/81).

# 0.1.1
* Change `async-time-mock-core` dependency to `0.1`

Expand Down
4 changes: 2 additions & 2 deletions async-time-mock-async-std/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "async-time-mock-async-std"
description = "Mockable time for use in async runtimes (async-std compatibility)."
version = "0.1.1"
version = "0.1.2"
edition = "2021"
license = "MIT"
authors = [
Expand All @@ -12,7 +12,7 @@ rust-version = "1.70"

[dependencies]
async-std = "1"
async-time-mock-core = { version = "0.1", path = "../async-time-mock-core", optional = true }
async-time-mock-core = { version = "0.1.4", path = "../async-time-mock-core", optional = true }

[dev-dependencies]
async-std = { version = "1", features = ["attributes"] }
Expand Down
9 changes: 9 additions & 0 deletions async-time-mock-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog for async-time-mock-core

# 0.1.4

* Increase minimum rust version to `1.70`
* `TimerRegistry::sleep` and `TimerRegistry::sleep_until` now return `TimerListener` as an explicit future type instead
of `impl Future`
* Add `TimerRegistry::system_time` to get a mocked `SystemTime` in addition to the mocked monotonic time.
* Derive `Debug` on `TimeHandlerGuard`
* Replace `futures-lite::pin` with `std::pin::pin` (tests only)

# 0.1.3

* Update `event_listener` to `5`
Expand Down
2 changes: 1 addition & 1 deletion async-time-mock-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "async-time-mock-core"
description = "Mockable time for use in async runtimes (core package)."
version = "0.1.3"
version = "0.1.4"
edition = "2021"
license = "MIT"
authors = [
Expand Down
10 changes: 10 additions & 0 deletions async-time-mock-smol/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog for async-time-mock-smol

# 0.3.0

* Increase minimum rust version to `1.70`
* Add `MockableClock::system_time` to get the current `SystemTime`.
See [#82](https://github.com/communityvi/async-time-mock/issues/82).
* Turn `MockableClock::sleep` and `MockableClock::sleep_until` from async functions into functions returning `impl Future` with a `Send` and `'static` future type.
See [#81](https://github.com/communityvi/async-time-mock/issues/81).
* Remove unnecessary `async` from `MockableClock::interval` and `MockableClock::interval_at`.
Fixing [#81](https://github.com/communityvi/async-time-mock/issues/81) along the way.

# 0.2.0
* Update `smol` to `2` (NOTE: We're not depending on that directly, see the dependencies below)
* Update `event_listener` to `4`
Expand Down
4 changes: 2 additions & 2 deletions async-time-mock-smol/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "async-time-mock-smol"
description = "Mockable time for use in async runtimes (smol compatibility)."
version = "0.2.0"
version = "0.3.0"
edition = "2021"
license = "MIT"
authors = [
Expand All @@ -11,7 +11,7 @@ authors = [
rust-version = "1.70"

[dependencies]
async-time-mock-core = { version = "0.1", path = "../async-time-mock-core", optional = true }
async-time-mock-core = { version = "0.1.4", path = "../async-time-mock-core", optional = true }
# in order to minimize the amount of dependencies pulled in, use the `async-io` library for timers, which `smol` just reexports
async-io = "2"
# required for the Stream trait and already a dependency of async-io
Expand Down
8 changes: 8 additions & 0 deletions async-time-mock-tokio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog for async-time-mock-tokio

# 0.1.2

* Increase minimum rust version to `1.70`
* Add `MockableClock::system_time` to get the current `SystemTime`.
See [#82](https://github.com/communityvi/async-time-mock/issues/82).
* Turn `MockableClock::sleep` and `MockableClock::sleep_until` from async functions into functions returning an explicit `Sleep` future type.
See [#81](https://github.com/communityvi/async-time-mock/issues/81).

# 0.1.1
* Change async-time-mock-core dependency definition to `0.1`

Expand Down
4 changes: 2 additions & 2 deletions async-time-mock-tokio/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "async-time-mock-tokio"
description = "Mockable time for use in async runtimes (tokio compatibility)."
version = "0.1.1"
version = "0.1.2"
edition = "2021"
license = "MIT"
authors = [
Expand All @@ -12,7 +12,7 @@ rust-version = "1.70"


[dependencies]
async-time-mock-core = { version = "0.1", path = "../async-time-mock-core", optional = true }
async-time-mock-core = { version = "0.1.4", path = "../async-time-mock-core", optional = true }
futures-core = { version = "0.3", optional = true }
pin-project = "1"
tokio = { version = "1", features = ["time"] }
Expand Down

0 comments on commit 1805a27

Please sign in to comment.