Breaking Changes
-
(Issue #7 | PR #9).
NetworkResource::Connection::recv<MessageType>
has now been split (monomorphised) into three separate methods:recv_command
,recv_snapshot
, andrecv_clock_sync
to make it easier to implement aNetworkResource
. -
(Issue #16 | PRs #17, #22). Update the rust nightly toolchain (nightly-2021-12-06).
- The associated type
NetworkResource::ConnectionType
now has additional bounds as now required by the rust compiler (see rust-lang/rust#87479 and an insightful rust forum post). These bounds restrict how CrystalOrb can useConnectionType
, and so it should now be easier for your libraries to implement your ownNetworkResource
with fewer struggles with the borrow checker.
- The associated type