#async-trait #traits #macro #define #automatic

macro async_sync_trait_procmacro

Provides a macro for working with async traits

2 releases

0.1.1 Feb 14, 2023

#67 in #async-trait


Used in xand-api-client

MIT/Apache

11KB
168 lines

This crate provides a macro (async_sync_trait) to define async traits (and their implementations) while automatically providing synchronous versions of each method named method_name_sync. See the macro's docs for details.

Dependencies

~150–560KB
~13K SLoC