3 releases

0.1.2 Dec 30, 2023
0.1.1 Dec 29, 2023
0.1.0 Dec 29, 2023

#15 in #lending

Download history 14/week @ 2024-01-04 39/week @ 2024-01-11 42/week @ 2024-01-18 25/week @ 2024-01-25 52/week @ 2024-02-01 106/week @ 2024-02-08 63/week @ 2024-02-15 83/week @ 2024-02-22 102/week @ 2024-02-29 136/week @ 2024-03-07 149/week @ 2024-03-14 187/week @ 2024-03-21 143/week @ 2024-03-28 248/week @ 2024-04-04 136/week @ 2024-04-11 150/week @ 2024-04-18

717 downloads per month
Used in lender

Apache-2.0 OR LGPL-2.1-or-later OR MIT

16KB

Derive procedural macros for the lender crate.

This crate provides a for_! function-like macro that can be used to iterate over an IntoLender with a syntax similar to a for loop:

for_!(x in into_lender {
    ...
});

The macro expands to a while let loop that iterates over a Lender obtained from the IntoLender. The full for syntax is supported (patterns, etc.).

Dependencies

~325–780KB
~19K SLoC