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

adding Send+Sync supertraits to BootstrapStore for smoother async exp… #73

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

yannduperis
Copy link

I tried using the library in an async context (in a Tauri app within a #[tauri:command]) and went through hell because the compiler complained BootstrapStore doesn't implement Send.

I trivially modified the trait and its implementation (MemoryBootstrapStore) to implement both Send and Sync.

It works in my app and passes unit-tests.

@anewton1998 anewton1998 changed the base branch from main to dev August 27, 2024 12:11
@anewton1998 anewton1998 merged commit 5bbec8e into icann:dev Aug 27, 2024
2 checks passed
@anewton1998
Copy link
Collaborator

FYI, if you are building a client (which it sounds like you are doing), you may want to ask to get it listed in the RDAP Guide.

Thanks for the PR and if you have any other suggestions or ideas, please feel free to submit them.

@yannduperis yannduperis deleted the send_sync_bootstrap_store branch August 27, 2024 14:33
@yannduperis yannduperis restored the send_sync_bootstrap_store branch August 27, 2024 14:33
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