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

#677 in Concurrency

Download history 19/week @ 2024-07-27 1/week @ 2024-08-03 6/week @ 2024-08-24 2/week @ 2024-08-31 16/week @ 2024-09-21 10/week @ 2024-09-28

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
~64K SLoC