vss

Crates.iovss
lib.rsvss
version0.1.1
sourcesrc
created_at2023-12-29 18:38:24.209363
updated_at2024-11-26 19:12:52.684341
descriptionA dead simple library to allow for easily reused shutdown signal handling
homepage
repositoryhttps://github.com/randomairborne/vss
max_upload_size
id1083549
size3,428
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: 2

cargo fmt