impl-trait-utils icon indicating copy to clipboard operation
impl-trait-utils copied to clipboard

Is there a plan for this crate?

Open Sytten opened this issue 1 year ago • 6 comments

Hi!

It has been some time that async trait have been released. Some crates have moved to it, but for some people the transition is not easy. It would be great if we could easy replace async-trait with something that can be boxed or not depending on a feature flag for example.

This crate was kinda of the promise of the partial async trait release but it seemed to have lost interest or focus. Important PR are in limbo and it clearly isn't getting a lot of community adoption/love.

So what's the plan here? Is this crate still important for the async WG or not?

I hope I don't sound harsh and I appreciate the hard work put into it, I am really just trying to see what are the next steps.

Best

Sytten avatar Jun 24 '24 04:06 Sytten

@Sytten thanks for your question.

@spastorino is working on support for dyn dispatch which should close the major remaining use case gap between this crate and async-trait.

I am willing to review PRs but unfortunately haven't done a good job of responding to activity on this repo. I'm more likely to respond to Zulip pings.

tmandry avatar Jul 30 '24 00:07 tmandry

Thanks for the update @tmandry hopefully we can make it more complete and start driving the community towards it. I have not seen a single crate use it at the moment.

Sytten avatar Aug 15 '24 05:08 Sytten

Any update? Seems like there hasn't been any activity in this repo

matthew-russo avatar Jan 03 '25 07:01 matthew-russo

As far as I am aware this crate is more or less dead. Kinda of shame since there is really no good solution right now if you want to slowly transition out of async-trait, I had to do a bunch of ugly hacks in async-graphql.

I guess the limited async WG resources ate better spent finding a native solution to the many problems this crate was supposed to patch (Send, Boxed, etc)

Sytten avatar Jan 03 '25 07:01 Sytten

Gotcha, thanks. I'll figure out something else then

matthew-russo avatar Jan 03 '25 07:01 matthew-russo

@Sytten thanks for your question.

@spastorino is working on support for dyn dispatch which should close the major remaining use case gap between this crate and async-trait.

I am willing to review PRs but unfortunately haven't done a good job of responding to activity on this repo. I'm more likely to respond to Zulip pings.

I just saw that @tmandry mentioned that I'm working on support for dyn dispatch. Just in case people find this out, the work I've done lives in https://github.com/spastorino/dynosaur

spastorino avatar Feb 27 '25 13:02 spastorino