| Crates.io | sssd |
| lib.rs | sssd |
| version | 2.0.0 |
| created_at | 2023-07-23 15:37:27.292894+00 |
| updated_at | 2026-01-02 17:44:30.41088+00 |
| description | A simple way to let your app support like ./your_app start | stop | status | daemon. |
| homepage | |
| repository | https://github.com/funtoy/sssd |
| max_upload_size | |
| id | 923818 |
| size | 17,823 |
./your_app start | stop | status | daemon
#[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<()> {
// ...
}