Devolutions / Devolutions/mongodm-rs
Removing async_trait following stabilization of async traits fn in Rust 1.75
Open
enhancement
- Dominant language
- Rust
- Stars
- 36
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
With the stabilization of async traits fn ( https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html )
it should be possible to remove the boxing of the futures in the traits.
[trait_variant](https://docs.rs/trait-variant/latest/trait_variant/index.html) could be used to provide non-Send/Sync versions if the mongodb sync api should still be supported.
I suspect/hope that this might bring some small performances improvement by not boxing the futures (?)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.