-
Notifications
You must be signed in to change notification settings - Fork 291
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
remove solana-sdk from solana-client #3844
Conversation
If this PR represents a change to the public RPC API:
Thank you for keeping the RPC clients in sync with the server API @kevinheavey. |
1198985
to
7cae6fe
Compare
Making this a draft because CI will pass once some PRs on dependency crates are merged |
7cae6fe
to
86ac681
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build time goes down by half for this on my machine, from ~40s to ~20s. Most of the gain is due to no longer requiring "openssl-vendored" directly. The android / ios builds seem to Just Work, which simplifies things a ton.
All that to say, looks great!
solana-rpc-client = { workspace = true, features = ["default"] } | ||
solana-rpc-client-api = { workspace = true } | ||
solana-rpc-client-nonce-utils = { workspace = true } | ||
solana-sdk = { workspace = true, features = ["openssl-vendored"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing openssl-vendored is such a blessing
Problem
This crate can compile faster without solana-sdk
Summary of Changes
Remove it and replace with constituent crates as appropriate
This branches off #3829 so that needs to be merged first (update: done)