Work is already underway and is currently supported with an opt-in functionality in ractor via disabling the async-trait feature.
Related work: #202, #205
Before making this the default functionality, we need to understand the implications of not boxing the futures, which is what async-trait does in its procedural macro execution. By not boxing them, the large futures may stay on the stack and influence performance.
This issue is to track work related to
async fn
in traits which was recently stabilized.Related announcement by the Rust team: https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html
Work is already underway and is currently supported with an opt-in functionality in
ractor
via disabling theasync-trait
feature.Related work: #202, #205
Before making this the default functionality, we need to understand the implications of not boxing the futures, which is what
async-trait
does in its procedural macro execution. By not boxing them, the large futures may stay on the stack and influence performance.