new community crate: tokio_task_manager #4723
Unanswered
GlenDC
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Just published my first actual production-ready crate to crates.io, a very small library for some Tokio-related code that I was already sharing in quite some internal projects. Hope others can make as much use of it as we do:
https://crates.io/crates/tokio-task-manager
The source code can be found at https://github.com/ota-insight/tokio-task-manager.
The entire goal is to keep it as simple as possible with very strong guarantees to ensure my long-living application can gracefully shutdown (e.g. for rolling updates).
Examples are included in the crate as well.
https://github.com/OTA-Insight/tokio-task-manager/blob/main/examples/tcp-echo-server.rs might be the example that resonates most with this community.
It's my first tokio-related crate though, I'm happy to hear any feedback :)
Beta Was this translation helpful? Give feedback.
All reactions