# scopeguard-lite
[![GitHub]][github-repo]
[![Crates.io]][crates-io]
[![Docs.rs]][docs-rs]
---
A lightweight way to defer execution of a block to the end of the scope, and to run code during an unwind.
[GitHub]: https://img.shields.io/badge/github-firebrick?style=for-the-badge&logo=github&labelColor=grey
[Crates.io]: https://img.shields.io/badge/crates.io-darkgoldenrod?style=for-the-badge&logo=rust&labelColor=grey
[Docs.rs]: https://img.shields.io/badge/docs.rs-forestgreen?style=for-the-badge&logo=docs.rs&labelColor=grey
[crates-io]: https://crates.io/crate/scopeguard-lite
[github-repo]: https://github.com/Sky9x/scopeguard-lite
[docs-rs]: https://docs.rs/scopeguard-lite
## License
Licensed under either of
* Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or <https://www.apache.org/licenses/LICENSE-2.0>)
* MIT license
([LICENSE-MIT](LICENSE-MIT) or <https://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.