vss

Crates.iovss
lib.rsvss
version0.1.0
sourcesrc
created_at2023-12-29 18:38:24.209363
updated_at2023-12-29 18:38:24.209363
descriptionA dead simple library to allow for easily reused shutdown signal handling
homepage
repositoryhttps://github.com/randomairborne/vss
max_upload_size
id1083549
size3,193
valkyrie_pilot (randomairborne)

documentation

README

vss

valkyrie_pilot's shutdown_signal

This is a very simple crate, made to be used with axum's graceful_shutdown method, like so:

#[tokio::main]
async fn main() {
axum::serve(tcp, app)
    .with_graceful_shutdown(vss::shutdown_signal())
    .await
    .unwrap();
}
Commit count: 1

cargo fmt