#proc-macro #async #generic #future #macro

macro async-generic

Write code that can be both async and synchronous without duplicating it

7 releases (4 stable)

1.1.2 Sep 28, 2024
1.1.1 Aug 30, 2024
1.1.0 Mar 29, 2024
1.0.0 Dec 26, 2023
0.1.2 Sep 28, 2023

#162 in Procedural macros

Download history 48345/week @ 2024-11-19 37668/week @ 2024-11-26 53988/week @ 2024-12-03 76549/week @ 2024-12-10 76161/week @ 2024-12-17 21749/week @ 2024-12-24 40397/week @ 2024-12-31 113487/week @ 2025-01-07 118808/week @ 2025-01-14 140431/week @ 2025-01-21 186404/week @ 2025-01-28 165474/week @ 2025-02-04 184980/week @ 2025-02-11 110871/week @ 2025-02-18 81390/week @ 2025-02-25 411971/week @ 2025-03-04

813,321 downloads per month
Used in 9 crates (3 directly)

MIT/Apache

9KB
167 lines

About this crate

This crate is derived from the maybe-async crate as of September 2023.

Many thanks to Guoli Lyu for their initial work on this problem space.

Dependencies

~215–660KB
~16K SLoC