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

Use tokio directly instead of jsonrpc_server_utils's re-export #116

Merged
merged 2 commits into from
Mar 6, 2024

Conversation

steviez
Copy link

@steviez steviez commented Mar 6, 2024

Summary of Changes

Import objects from tokio directly instead of relying on the re-export from jsonrpc_server_utils:
https://docs.rs/jsonrpc-server-utils/latest/jsonrpc_server_utils/#reexports

We no longer import & use the crate directly, altho we still use the crate indirectly through some of our deps

@CriesofCarrots
Copy link

Oh nice. That was probably a holdover from when we had to support two versions of tokio 🤕

@steviez
Copy link
Author

steviez commented Mar 6, 2024

Oh nice. That was probably a holdover from when we had to support two versions of tokio 🤕

Seems probable ha. That being said, we can likely rip out the dependence on that crate altogether; looks like only other place and it is also reimporting something from tokio

bw-solana
bw-solana previously approved these changes Mar 6, 2024
Copy link

@bw-solana bw-solana left a comment

Choose a reason for hiding this comment

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

LGTM

@steviez
Copy link
Author

steviez commented Mar 6, 2024

we can likely rip out the dependence on that crate altogether

Clarification on this statement added to the summary up top but - We no longer import & use the crate directly, altho we still use the crate indirectly through some of our deps

Copy link

@t-nelson t-nelson left a comment

Choose a reason for hiding this comment

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

thanks!

@steviez steviez requested a review from CriesofCarrots March 6, 2024 19:49
@steviez steviez merged commit b38ea41 into anza-xyz:master Mar 6, 2024
46 checks passed
@steviez steviez deleted the val_tokio branch March 6, 2024 20:49
codebender828 pushed a commit to codebender828/agave that referenced this pull request Oct 3, 2024
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.

4 participants