v0.11.0-beta.1
版本发布时间: 2021-01-02 08:35:09
actix/actix最新发布版本:actix_derive-v0.6.2(2024-09-13 04:20:46)
Added
- Re-export
actix_rt::main
macro asactix::main
. #448 - Added
actix::fut::Either::{left, right}()
variant constructors. #453
Changed
- The re-exported
actix-derive
macros are now conditionally included with thederive
feature which is enabled by default but can be switched off to reduce dependencies. #424 - The
where
clause onResponse::fut()
was relaxed to no longer requireT: Unpin
, allowing aResponse
to be created with anasync
block #421 - Allow creating
WeakRecipient
fromWeakAddr
, similiar toRecipient
fromAddr
. #432 - Send
SyncArbiter
to currentSystem
'sArbiter
and run it as future there. Enables nestedSyncArbiter
s. #439 - Use generic type instead of associate type for
EnvelopeProxy
. #445 -
SyncEnvelopeProxy
andSyncContextEnvelope
are no longer bound to an Actor. #445 - Rename
actix::clock::{delay_for, delay_until, Delay}
to{sleep, sleep_until, Sleep}
. #443 - Remove all
Unpin
requirement fromActorStream
. #443 - Update examples and tests according to the change of
actix-rt
.Arbiter::spawn
andactix_rt::spawn
now panic outside the context ofactix::System
. They must be called insideSystem::run
,SystemRunner::run
orSystemRunner::block_on
. More information can be found here. #447 -
actix::fut::Either
's internal variants' representation has changed to struct fields. #453 - Replace
pin_project
withpin_project_lite
#453 - Update
crossbeam-channel
to0.5
- Update
bytes
to1
. #443 - Update
tokio
to1
. #443 - Update
tokio-util
tp0.6
. #443
Fixed
- Unified MessageResponse impl (combine separate Item/Error type, migrate to Item=Result). #446
- Fix error for build with
--no-default-features
flag, addsink
feature for futures-util dependency. #427
Removed
- Remove unnecessary
actix::clock::Duration
re-export ofstd::time::Duration
. #443