5 releases

0.2.1 May 8, 2024
0.1.3 May 3, 2024
0.1.2 May 3, 2024
0.1.1 Apr 30, 2024
0.1.0 Apr 14, 2024

#681 in Concurrency

Download history 20/week @ 2024-07-28 7/week @ 2024-08-25 1/week @ 2024-09-01 17/week @ 2024-09-22 9/week @ 2024-09-29

237 downloads per month

MIT/Apache

16KB
205 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.2–8MB
~63K SLoC