#graceful-shutdown #shutdown #async

shutdown-handler

A shutdown handler that allows all parts of an application to trigger a shutdown

2 releases

0.1.1 Apr 5, 2023
0.1.0 Mar 31, 2023

#755 in Asynchronous

Download history 6215/week @ 2024-09-28 5168/week @ 2024-10-05 6728/week @ 2024-10-12 8183/week @ 2024-10-19 4808/week @ 2024-10-26 5904/week @ 2024-11-02 7151/week @ 2024-11-09 8941/week @ 2024-11-16 7000/week @ 2024-11-23 6924/week @ 2024-11-30 7034/week @ 2024-12-07 4435/week @ 2024-12-14 870/week @ 2024-12-21 981/week @ 2024-12-28 3975/week @ 2025-01-04 4933/week @ 2025-01-11

11,749 downloads per month
Used in carrot-cake

MIT/Apache

17KB
156 lines

shutdown-handler

A shutdown handler that allows all parts of an application to trigger a shutdown.

Crates.io Docs.rs CI

Installation

Add shutdown-handler to your dependencies

[dependencies]
# ...
shutdown-handler = "0.1.0"

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING.md.

Dependencies

~2–11MB
~94K SLoC