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

Ensure encoding/decoding function return Send futures. #2

Closed
timothee-haudebourg opened this issue Aug 7, 2024 · 0 comments · Fixed by #3
Closed

Ensure encoding/decoding function return Send futures. #2

timothee-haudebourg opened this issue Aug 7, 2024 · 0 comments · Fixed by #3
Assignees

Comments

@timothee-haudebourg
Copy link
Collaborator

For now it is impossible to use this library in a concurrent context because it uses some trait objects that are not Send nor Sync, leading to the future returned by the encoding/decoding function to be not Send. However adding those bounds is not enough, as it triggers a Rust compiler issue rust-lang/rust#100013

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 a pull request may close this issue.

1 participant