⚠️ indicates a breaking change.
[Unreleased]
Added
- ⚠️ Allow the handler builder closure to return an application-defined context that will be returned back to the the original spawn caller.
Changed
- ⚠️
task::spawn()
is nowasync
. - ⚠️ The async handler builder is expected to return a
Future
that is expected to spawn the handler.
Removed
[0.4.0] - 2024-09-10
Changed
- ⚠️ Updated to
ump
to0.13.0
.
[0.3.0] - 2024-02-20
Yanked 0.2.1 and rereleased as 0.3.0 due to breaking changes.
[0.2.1 - Yanked] - 2024-02-20
Added
- Add a watchdog that will warn if a msgproc takes more than 200ms to return.
This is intended for dev builds only and must be enabled using the
watchdog
feature. Will output to stderr by default, but will output totracing::warn!()
if thetracing
feature is enabled as well.
Changed
- Make
Handler
builder closure fallible.
[0.2.0] - 2024-01-28
Added
- Add
net
feature totokio
dependency to work around what appears to be a bug in tokio which prohibits doc generation without it.
Changed
- Instead of taking in an
impl Handler
into the{thread,task}::spawn()
function, take in a closure that returns the handler. A reference to the handler channel's client endpoint is passed to the closure, which makes it possible to storeClient
/WeakClient
in the handler, without involving anOption
(or similar).
[0.1.0] - 2023-10-03
Initial release.