6 stable releases
| 2.1.0 | Feb 2, 2026 |
|---|---|
| 2.0.0 | Jan 2, 2026 |
| 1.1.0 | Jul 20, 2025 |
| 1.0.3 | Jul 18, 2025 |
| 1.0.1 | Jul 23, 2023 |
#790 in Asynchronous
7KB
86 lines
A simple way to let your app support like
./your_app start | stop | status | daemon
Examples
#[tokio::main]
async fn main() {
sssd::create(your_async_func, Some(stop_callback_func)).await
}
async fn your_async_func() -> anyhow::Result<()> {
// ...
}
async fn stop_callback_func() -> anyhow::Result<()> {
// ...
}
Dependencies
~4–7MB
~123K SLoC