sssd 2.1.0

A simple way to let your app support like ./your_app start | stop | status | daemon.
Documentation

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<()> {
    // ...
}