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

Use impl Future instead of async-trait in most traits #53

Merged
merged 2 commits into from
Apr 1, 2024
Merged

Use impl Future instead of async-trait in most traits #53

merged 2 commits into from
Apr 1, 2024

Conversation

negezor
Copy link
Collaborator

@negezor negezor commented Mar 31, 2024

This PR for all traits replaces the use of async-trait with impl Future + Send. However, it is not possible to completely get rid of async-trait now. The bb8 and refinery modules still require async-trait for impl. This also requires MSVR version to be raised to 1.75, but at the moment I don't see a minimum MSVR and suggest to put it in. The reason for this PR is simple, the fewer macros the better. It also slightly increases the speed of the build.

@negezor negezor mentioned this pull request Mar 31, 2024
@Protryon Protryon merged commit d68449a into Protryon:master Apr 1, 2024
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

Successfully merging this pull request may close these issues.

2 participants