3 releases

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

#14 in #lending

Download history 142/week @ 2024-04-15 123/week @ 2024-04-22 146/week @ 2024-04-29 147/week @ 2024-05-06 55/week @ 2024-05-13 116/week @ 2024-05-20 127/week @ 2024-05-27 136/week @ 2024-06-03 78/week @ 2024-06-10 176/week @ 2024-06-17 76/week @ 2024-06-24 38/week @ 2024-07-01 53/week @ 2024-07-08 81/week @ 2024-07-15 136/week @ 2024-07-22 117/week @ 2024-07-29

390 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

~275–720KB
~17K SLoC