4 releases

new 0.1.3 May 3, 2024
0.1.2 May 3, 2024
0.1.1 Apr 30, 2024
0.1.0 Apr 14, 2024

#406 in Concurrency

Download history 121/week @ 2024-04-11 10/week @ 2024-04-18 102/week @ 2024-04-25

233 downloads per month

MIT/Apache

16KB
196 lines

toktor


Build Status


A small Actor framework for use within tokio.

Features:

  • both graceful and hard shutdown options for actors
  • spawning of child actors
  • spawning of associated tasks, that may be shutdown with the actor

This was created to cater for a need in a project for allowing creation of complex actor structures that could be easily shutdown when required. For example in UIs, when a user closes a window, or in telephony when an internet call is dropped.

Minimum Supported Rust Version (MSRV)

MSRV is 1.75

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2.3–4MB
~65K SLoC