4 releases

0.2.2 Jul 30, 2024
0.2.1 Jul 23, 2024
0.2.0 Jul 22, 2024
0.1.0 Jul 22, 2024

#1577 in Rust patterns


Used in 2 crates (via structre_proc_macros)

ISC license

4KB
68 lines

Flowcontrol

General purpose macros and utilities for expediting and clarifying control flow in rust.

  • shed! - stop breaks

  • superif! - like if with multi-statement, branching conditionals

  • ta_return! - type assert a block's return value (ex: in async blocks, closures)

No runtime deps