scopeguard 1.1.0

A RAII scope guard that will run a given closure when it goes out of scope, even if the code between panics (assuming unwinding panic). Defines the macros `defer!`, `defer_on_unwind!`, `defer_on_success!` as shorthands for guards with one of the implemented strategies.
Documentation
language: rust
sudo: false

rust:
  - 1.20.0
  - stable
  - beta
  - nightly

branches:
  only:
    - master

# the main build
script:
  - |
      cargo build --no-default-features &&
      cargo test --no-default-features &&
      cargo build &&
      cargo test