lemmy icon indicating copy to clipboard operation
lemmy copied to clipboard

Remove use of `async_trait`

Open dullbananas opened this issue 1 year ago • 1 comments

Not needed anymore in rust 1.75

dullbananas avatar Dec 28 '23 17:12 dullbananas

afaik the official async trait feature uses raw futures and not boxed futures like async_trait so that might not work for the use cases in lemmy

phiresky avatar Jan 02 '24 15:01 phiresky

The first step for this would be getting rid of async_trait in activitypub-federation. I tried that and ran into the exact errors mentioned in the async-trait readme. So I dont think we can get rid of async_trait in case of Lemmy.

Nutomic avatar Mar 14 '24 14:03 Nutomic