#proc-macro #async #generics #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

#189 in Procedural macros

Download history 34353/week @ 2024-07-12 41548/week @ 2024-07-19 23299/week @ 2024-07-26 39029/week @ 2024-08-02 49574/week @ 2024-08-09 39171/week @ 2024-08-16 27736/week @ 2024-08-23 18838/week @ 2024-08-30 24185/week @ 2024-09-06 29663/week @ 2024-09-13 28613/week @ 2024-09-20 32087/week @ 2024-09-27 32418/week @ 2024-10-04 21353/week @ 2024-10-11 29071/week @ 2024-10-18 32845/week @ 2024-10-25

119,786 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

~230–670KB
~16K SLoC