Releases: communityvi/async-time-mock
Releases · communityvi/async-time-mock
async-time-mock-tokio-v0.1.2
async-time-mock-smol-v0.3.0
- Increase minimum rust version to
1.70
- Add
MockableClock::system_time
to get the currentSystemTime
.
See #82. - Turn
MockableClock::sleep
andMockableClock::sleep_until
from async functions into functions returningimpl Future
with aSend
and'static
future type.
See #81. - Remove unnecessary
async
fromMockableClock::interval
andMockableClock::interval_at
.
Fixing #81 along the way.
async-time-mock-core-v0.1.4
- Increase minimum rust version to
1.70
TimerRegistry::sleep
andTimerRegistry::sleep_until
now returnTimerListener
as an explicit future type instead
ofimpl Future
- Add
TimerRegistry::system_time
to get a mockedSystemTime
in addition to the mocked monotonic time. - Derive
Debug
onTimeHandlerGuard
- Replace
futures-lite::pin
withstd::pin::pin
(tests only)
async-time-mock-async-std-v0.1.2
async-time-mock-core-v0.1.3
- Update
event-listener
to5
async-time-mock-tokio-v0.1.1
- Change async-time-mock-core dependency definition to
0.1
async-time-mock-smol-v0.2.0
- Update
smol
to2
(NOTE: We're not depending on that directly, see the dependencies below)- Update
event_listener
to4
- Update
async-io
to2
- Update
- Update
async-time-mock-core
to0.1.2
async-time-mock-core-v0.1.2
- Update
event_listener
to4
async-time-mock-async-std-v0.1.1
- Change
async-time-mock-core
dependency to0.1
async-time-mock-core 0.1.1
Update dependencies of async-time-mock-core
to ones from smol 2.0.