grace

Crates.iograce
lib.rsgrace
version0.1.0
sourcesrc
created_at2021-01-01 00:19:39.596721
updated_at2021-01-01 00:19:39.596721
descriptionIntercept shutdown requests in a portable way
homepage
repositoryhttps://github.com/Diggsey/grace
max_upload_size
id329949
size23,368
Diggory Blake (Diggsey)

documentation

README

grace

Portable library for intercepting various kinds of shutdown signal, allowing your application to shutdown gracefully.

Windows does not have signals (although they are emulated to some extent by libc) so this crate uses the appropriate windows API functions directly to respond to interrupt and shutdown requests.

On other platforms signals are used via the signal-stack crate.

Commit count: 6

cargo fmt