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 Solana 2.1 crate dependencies on Rust renderer #277

Open
febo opened this issue Nov 1, 2024 · 0 comments
Open

Use Solana 2.1 crate dependencies on Rust renderer #277

febo opened this issue Nov 1, 2024 · 0 comments

Comments

@febo
Copy link
Contributor

febo commented Nov 1, 2024

Problem

From version 2.1, solana-program has been split up in individual crates. While it is still possible to depend directly on solana-program, the Rust client could reduce its dependency graph by only importing the crates that is needs (e.g., solana-pubkey and solana-instruction).

Proposed Solution

Update the renderer-rust package to use individual dependencies. This unfortunately will make the generated clients dependent on the new 2.1 version of the crates, although the previous version of the package could still be used to generate clients with solana-program dependency.

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

No branches or pull requests

1 participant