#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

#671 in Asynchronous

Download history 1170/week @ 2023-12-21 2192/week @ 2023-12-28 3707/week @ 2024-01-04 4710/week @ 2024-01-11 3955/week @ 2024-01-18 4972/week @ 2024-01-25 5196/week @ 2024-02-01 8014/week @ 2024-02-08 4855/week @ 2024-02-15 5359/week @ 2024-02-22 6657/week @ 2024-02-29 7428/week @ 2024-03-07 6709/week @ 2024-03-14 4639/week @ 2024-03-21 5746/week @ 2024-03-28 7416/week @ 2024-04-04

26,196 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–12MB
~106K SLoC