solana-driver: Add solana-rpc crate and hold RPC wrapper in API struct - #4746
solana-driver: Add solana-rpc crate and hold RPC wrapper in API struct#4746tilacog wants to merge 5 commits into
solana-driver: Add solana-rpc crate and hold RPC wrapper in API struct#4746Conversation
solana-driver: Add solana-rpc crate and hold RPC wrapper in API structsolana-driver: Add solana-rpc crate and hold RPC wrapper in API struct
|
Claude finished @tilacog's task in 3m 40s —— View job PR Review:
|
| @@ -0,0 +1,18 @@ | |||
| [package] | |||
| name = "solana-rpc" | |||
There was a problem hiding this comment.
solana-rpc is a published crate. IIRC, Cargo only allows one package per name in a dependency graph, so the day any dependency pulls the upstream one, the workspace stops resolving. Probably worth a name that's clearly ours before anything depends on it, cow-solana-rpc or similar, wdyt?
There was a problem hiding this comment.
Oof, I didn't realize that.
cow-solana-rpc it is then!
Renamed in 6af12aa, thanks
Description
Follow up to PR #4741, addressing reviewer feedback.
Changes
solana-rpccrate, hoping other solana related crates in this repo can use it too.solana-indexereventually reuses this crate, replacing therpcmodule from PR feat(solana-indexer) PR 12: RPC client adapter #4739. Please let me know if you want me to adjust anything in this PR with that in mind.How to test
$ cargo test -p solana-driver