#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

#171 in Procedural macros

Download history 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 44244/week @ 2024-11-16 41269/week @ 2024-11-23 48415/week @ 2024-11-30

171,729 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

~220–660KB
~16K SLoC