Skip to content

Releases: rust-dd/async-safe-defer

v.0.1.0

12 Apr 10:03
Compare
Choose a tag to compare

Release Notes — v0.1.0

Initial release of async-safe-defer 🎉

Features

  • defer! macro for sync RAII-style cleanup (Go-style)
  • AsyncScope with .defer() and .run().await for async cleanup
  • async_scope! macro for ergonomic scoped async defers
  • no_alloc module with fixed-capacity async scope (zero allocation)
  • no_std compatible (alloc required for dynamic version)
  • ✅ Fully safe, zero dependencies, no unsafe code