#control-flow #conditional #value #simplifying #block #branch #return #clarifying

flowcontrol

Utilities for clarifying and simplifying control flow

5 releases

0.2.3 Dec 16, 2024
0.2.2 Jul 30, 2024
0.2.1 Jul 23, 2024
0.2.0 Jul 22, 2024
0.1.0 Jul 22, 2024

#6 in #simplifying

Download history 13/week @ 2025-03-12 11/week @ 2025-03-19 15/week @ 2025-03-26 2/week @ 2025-04-02 16/week @ 2025-04-16 23/week @ 2025-04-23 18/week @ 2025-04-30 22/week @ 2025-05-07 4/week @ 2025-05-14 25/week @ 2025-06-11 9/week @ 2025-06-18 20/week @ 2025-06-25

54 downloads per month
Used in 8 crates (5 directly)

ISC license

5KB
77 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