Expand description
This library provides helper macros for using async functions in traits.
Attribute Macrosยง
- native_
async - The
#[async_trait]macro is used to desugar async functions in traits to returnimpl Future + Send. - strip_
async - This macro can be used in place of the
native_asyncmacro to strip away all use ofasyncand.awaitsyntax. This helps emulate async-generic by turnining async functions into sync functions.