#shutdown

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 7739/week @ 2024-07-24 8043/week @ 2024-07-31 8043/week @ 2024-08-07 8134/week @ 2024-08-14 6584/week @ 2024-08-21 5703/week @ 2024-08-28 8086/week @ 2024-09-04 7297/week @ 2024-09-11 6410/week @ 2024-09-18 5422/week @ 2024-09-25 5584/week @ 2024-10-02 6335/week @ 2024-10-09 6919/week @ 2024-10-16 7667/week @ 2024-10-23 4397/week @ 2024-10-30 4835/week @ 2024-11-06

25,126 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
~91K SLoC