Skip to content

Feat: Marked SendFuture and SendWrapper as unsafe types #784

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

parzivale
Copy link
Contributor

Moved away from general unsafe impls to better communicate the usage style of SendFutures, removed unneeded Sync + Send impls from the Ai Module (Can instead implement SendWrapper).

This will probably constitute an api breakage and should (maybe?) go in the next release if accepted.

parzivale and others added 3 commits July 18, 2025 17:21
Moved away from general unsafe impls to better communicate the usage style of SendFutures and how they should be used, removed unneeded Sync + Send impls from the Ai Module (Can instead implement SendWrapper)
@guybedford
Copy link
Collaborator

CI seems to be failing here after rebase.

Agreed this is the better user experience, would be happy to land it for the next major release after the current patch release.

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