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

rust: make interfaces Send #1284

Merged
merged 2 commits into from
Dec 5, 2024
Merged

Conversation

bennetthardwick
Copy link
Contributor

Changelog

rust: make sure structs are Send

Docs

None

Description

This PR makes sure that all MCAP readers and writers can be sent between threads. This is mainly just adding Send to the Decompressor trait, but it also adds compile time assertions to make sure we don't regress.

BeforeAfter

readers are not Send

readers are now Send

Copy link
Collaborator

@james-rms james-rms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feel free to version bump in this PR if you want to release directly afterwards.

@bennetthardwick bennetthardwick merged commit 44de986 into main Dec 5, 2024
23 checks passed
@bennetthardwick bennetthardwick deleted the bennett/make-interfaces-thread-safe branch December 5, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants