⚠️ indicates a breaking change.
[Unreleased]
Added
Server::proc_loop()
enter a message processing loop.ReqProc
can be used to processReplyContext::proc()
ReplyContext::proc_ctx()
ReplyContext::proc_thrd()
Changed
Removed
[0.13.0] - 2024-09-10
Changed
- Update to
swctx
to0.3.0
, allowingReplyContext
to detect if the originating client has been dropped. - ⚠️ Require
std::error::Error
bound on application-specific errorE
forstd::error::Error
implementation onError<E>
as well asfmt::Display
forError<E>
.
Removed
- Remove
dev-docs
feature - Remove superfluous
parking_lot
dependency.
[0.12.1] - 2023-10-02
Added
- Add
Client::req_async()
. - Add
Server::try_pop()
. Client
objects can spawn downgraded toWeakClient
objects, that in turn can be upgraded toClient
objects (as long as all the strongClient
objects have not been dropped).
[0.12.0] - 2023-08-15
Changed
- Include tests when publishing crate.
- Bugfix: Use
err::Error
rather thanrctx::err::Error
in rctx::public, givingReplyContext::reply()
andReplyContext::fail()
the correct return types. - Use the
swctx
crate for sending back the reply rather than use a custom in-tree implementation. - Update
edition
to2021
andrust-version
to1.56
. - Add
--generate-link-to-definition
torustdoc-args
inCargo.toml
[0.11.0] - 2023-07-29
Changed
- Include tests when publishing crate.
- Bugfix: Use
err::Error
rather thanrctx::err::Error
in rctx::public, givingReplyContext::reply()
andReplyContext::fail()
the correct return types.
[0.10.2] - 2023-07-28
Added
- Add
send()
/asend()
wrappers around the newreq()
/areq()
methods with a deprecation notice. - Add a
dev-docs
feature to allow internal documentation notes to be included in generated documentation.
Changed
- Rename
send()
/asend()
toreq()
/areq()
.
[0.10.1] - 2023-07-27
Changed
- Runtime dependencies:
- Updated
sigq
to0.13.3
.
- Updated
[0.10.0] - 2023-07-26
Added
- Server's receive methods will fail with
Error::ClientsDisappeared
if all the associated Client objects have been dropped.
Changed
- Runtime dependencies:
- Updated
sigq
to0.13.2
.
- Updated
- Development dependencies:
- Updated
criterion
to0.5.1
- Updated
[0.9.0] - 2022-09-09
Added
- Explicitly set MSRV is
1.36
Changed
- Update
parking_lot
to version0.12.1
. - Update
sigq
to version0.11.0
, which should improve async cancellation robustness.