-
Notifications
You must be signed in to change notification settings - Fork 155
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
Add Sendable annotation to Crypto Extras #208
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
New API Proposal: Sendable Support
Motivation:
Use Swift Crypto types in concurrency contexts invariably starts to hit issues as no types are Sendable. I'm aware there are issues around the main Crypto target as that has match CryptoKit (or does it? Could we add Sendable conformance on Linux?) but it would be great to add it to the types in Crypto Extras
Importance:
It's possible to achieve this with a mix of
@preconcurrency
and@unchecked Sendable
but neither of these are ideal for obvious reasons.The text was updated successfully, but these errors were encountered: