Skip to content

cross-project bug: async_trait and tracing::instrument are incompatible #45

@inanna-malick

Description

@inanna-malick

The combination of macros results in the instrument macro thinking the instrumented function is not in fact async and generating the wrong code.

see full writeup here, cross-posting b/c someone on the tonic/tracing/etc discord suggested it. Thanks for providing this crate!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions