Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove async_trait #629

Open
xJonathanLEI opened this issue Jul 16, 2024 · 0 comments
Open

Remove async_trait #629

xJonathanLEI opened this issue Jul 16, 2024 · 0 comments

Comments

@xJonathanLEI
Copy link
Owner

Rust 1.75 added support for async fn in traits, which is now more than 6 months old, making it reasonable to set MSRV to.

Moving away from async-trait makes the codebase more LSP-friendly, as rust-analyzer has much better support for the standard async fn.

It also makes implementing async traits downstream easier as they have one fewer dependency to add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant