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

Require Point/Scalar to be Send+Sync #170

Merged
merged 1 commit into from
Aug 31, 2022
Merged

Require Point/Scalar to be Send+Sync #170

merged 1 commit into from
Aug 31, 2022

Conversation

survived
Copy link
Contributor

Currently, points and scalars are not usable in generic code with thread safety requirements as Point<E> is not necessarily Send+Sync. This PR updates generic bounds of Curve, ECPoint, Scalar and requires them always to be Send+Sync.

Waiting feedback from @RustMania on whether is addresses the problem

@elichai elichai marked this pull request as ready for review August 31, 2022 12:53
@elichai elichai merged commit d733f37 into master Aug 31, 2022
@elichai elichai deleted the send-sync-issue branch August 31, 2022 12:54
@survived survived restored the send-sync-issue branch August 31, 2022 12:55
@RustMania

This comment was marked as resolved.

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.

3 participants