#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

#176 in Procedural macros

Download history 25669/week @ 2024-08-03 49702/week @ 2024-08-10 43838/week @ 2024-08-17 21902/week @ 2024-08-24 21579/week @ 2024-08-31 24864/week @ 2024-09-07 29714/week @ 2024-09-14 28093/week @ 2024-09-21 32128/week @ 2024-09-28 31625/week @ 2024-10-05 22335/week @ 2024-10-12 29369/week @ 2024-10-19 34378/week @ 2024-10-26 38244/week @ 2024-11-02 28825/week @ 2024-11-09 33213/week @ 2024-11-16

140,137 downloads per month
Used in 7 crates (2 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

~240–690KB
~16K SLoC