#shutdown #graceful-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

#659 in Asynchronous

Download history 4041/week @ 2023-12-06 4317/week @ 2023-12-13 1510/week @ 2023-12-20 1559/week @ 2023-12-27 3754/week @ 2024-01-03 4437/week @ 2024-01-10 3608/week @ 2024-01-17 4999/week @ 2024-01-24 5330/week @ 2024-01-31 7439/week @ 2024-02-07 5461/week @ 2024-02-14 4916/week @ 2024-02-21 6353/week @ 2024-02-28 7540/week @ 2024-03-06 6998/week @ 2024-03-13 5174/week @ 2024-03-20

26,839 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–13MB
~107K SLoC