4 ms·
Dying for async traits to someday come true
by rhodysurf 3y ago
Dying for async traits to someday come true
- kibwen 3y agoAFAIK it's just waiting on the fix in https://github.com/rust-lang/rust/pull/114489 https://github.com/rust-lang/rust/pull/114489 to land, I don't know of any other blockers.
- Fordec 3y agoComing in 1.74 apparently but it seems to be behind schedule by what the plan was in the Gantt chart. It's a feature I'm eagerly keeping tabs on as it have so many hacks in my active work that will [just work] once I can use async traits.
- bobbylarrybobby 3y agoSerious question: is the crate that fakes it with box dyn future really not performant enough for you?
- Fordec 3y agoNot ergonomic for use by providing a public trait API in a library when step one is [also] import this other hack library to get up and running.