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 send & sync bounds and permit non-Send IO and Body types #168

Closed
wants to merge 1 commit into from

Conversation

alexrudy
Copy link
Owner

@alexrudy alexrudy commented Oct 7, 2024

No description provided.

Both clients and servers support customized executors, including local thread executors. There are still some limitations due to the SharedService type converting the wrapped service to dyn Service + Send + Sync. Its not easy to drop the bounds there, but maybe an alternative approach is possible.

As well, bodies are still limited to be Send due to the use of boxed futures. Eliminating the remaining box futures will solve this problem.
@alexrudy alexrudy force-pushed the fix/remove-send-sync branch from 7f3c170 to 8a3f133 Compare October 9, 2024 01:58
@alexrudy alexrudy closed this Oct 22, 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.

1 participant