An open API service indexing awesome lists of open source software.

https://github.com/truelayer/shutdown-handler

A shutdown handler that allows all parts of an application to trigger a shutdown.
https://github.com/truelayer/shutdown-handler

Last synced: 10 months ago
JSON representation

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

Awesome Lists containing this project

README

          

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

[![Crates.io](https://img.shields.io/crates/v/shutdown-handler.svg)](https://crates.io/crates/shutdown-handler)
[![Docs.rs](https://docs.rs/shutdown-handler/badge.svg)](https://docs.rs/shutdown-handler)
[![CI](https://github.com/TrueLayer/shutdown-handler/workflows/CI/badge.svg)](https://github.com/TrueLayer/shutdown-handler/actions)

## Installation

Add `shutdown-handler` to your dependencies

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

## License

Licensed under either of

* Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license
([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

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](CONTRIBUTING.md).