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
237 downloads per month
16KB
205 lines
toktor
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
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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