#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

#173 in Procedural macros

Download history 28935/week @ 2024-10-16 30617/week @ 2024-10-23 36301/week @ 2024-10-30 29555/week @ 2024-11-06 37118/week @ 2024-11-13 54157/week @ 2024-11-20 34325/week @ 2024-11-27 56481/week @ 2024-12-04 82233/week @ 2024-12-11 60578/week @ 2024-12-18 21009/week @ 2024-12-25 57093/week @ 2025-01-01 118509/week @ 2025-01-08 115879/week @ 2025-01-15 152658/week @ 2025-01-22 155827/week @ 2025-01-29

561,384 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

~210–650KB
~15K SLoC