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

#1419 in Rust patterns

29 downloads per month
Used in 3 crates (2 directly)

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