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.
- Host: GitHub
- URL: https://github.com/truelayer/shutdown-handler
- Owner: TrueLayer
- License: apache-2.0
- Created: 2023-03-27T13:52:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-05T10:26:04.000Z (about 2 years ago)
- Last Synced: 2024-04-24T03:54:06.984Z (about 2 years ago)
- Language: Rust
- Size: 31.3 KB
- Stars: 0
- Watchers: 12
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE-APACHE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# shutdown-handler
A shutdown handler that allows all parts of an application to trigger a shutdown.
[](https://crates.io/crates/shutdown-handler)
[](https://docs.rs/shutdown-handler)
[](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).