MyGit

v0.10.0

slawlor/ractor

版本发布时间: 2024-05-18 09:51:52

slawlor/ractor最新发布版本:v0.12.0(2024-10-04 22:31:32)

Ractor Version 0.10.0 is now released!

This is a significant API break with a few points in ractor.

Code cleanup

First is the resolution of #164 which required renaming a few enumeration variants in (SpawnErr, ActorErr, and SupervisionEvent). These are to better match current functionality (instead of Panic variants they're now Failed variants) as actors can't only fail on panic (which was the original design).

Factories

Secondly is a major rewrite of Factorys to support trait-based insertion of routing and queuing logic. This

  1. minimizes dependence on non-used generics (i.e. requiring a priority implementation even though no priority used)
  2. Adds functionality (dynamic worker pool, dynamic queueing depth, more discard functionality for shedding newest or oldest jobs, factory lifecycle hooks, etc)
  3. Increases performance by minimizing clones for some types (since Box'd types aren't needed for Sync safe structures, so they've been moved to Arc.

See the full details and changes in #237

Changelog

Full changelog: https://github.com/slawlor/ractor/compare/v0.9.8...v0.10.0

相关地址:原始地址 下载(tar) 下载(zip)

查看:2024-05-18发行的版本