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

Make Error Send + Sync (fixes #191) #198

Merged
merged 3 commits into from
Dec 5, 2023
Merged

Conversation

udoprog
Copy link
Contributor

@udoprog udoprog commented Dec 3, 2023

Uses a different approach than the ones in comments of #191. Most errors do not need to be boxed, and introducing two error variants instead of having one very generic one (with static details) ends up not being too bad.

📜 Checklist

  • Commits are cleanly separated and have useful messages
  • A changelog entry or entries has been added to CHANGELOG.md
  • Documentation is thorough
  • Test coverage is excellent and passes
  • Works when tests are run --all-features enabled

src/errors.rs Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
src/errors.rs Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@dralley dralley merged commit 3e39b49 into rpm-rs:master Dec 5, 2023
11 checks passed
@udoprog udoprog deleted the send-sync-error branch December 5, 2023 15:41
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