#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

#680 in Asynchronous

Download history 7506/week @ 2024-08-11 8492/week @ 2024-08-18 5377/week @ 2024-08-25 6609/week @ 2024-09-01 8143/week @ 2024-09-08 6546/week @ 2024-09-15 5808/week @ 2024-09-22 6257/week @ 2024-09-29 5162/week @ 2024-10-06 6696/week @ 2024-10-13 8184/week @ 2024-10-20 4814/week @ 2024-10-27 5950/week @ 2024-11-03 7091/week @ 2024-11-10 8942/week @ 2024-11-17 7022/week @ 2024-11-24

29,020 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–10MB
~94K SLoC