guarden
guarden is the main library crate in the workspace. It re-exports the
public macros for scoped cleanup and deferred execution:
guarded!- bind a guard to a local variable and run its body when dropped.guard!- create a guard value that you can trigger manually.defer!- an alias forguarded!.
The crate supports both synchronous and asynchronous bodies, explicit capture lists, and export control for captured values.
Example
use guarded;
let sink = new;
assert_eq!;
Notes
For more background and workspace-level usage, see the root README.md.
License
MIT