-
Notifications
You must be signed in to change notification settings - Fork 200
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
Extract solana-account crate #2294
Conversation
3fd2568
to
0dac686
Compare
a9a878b
to
6dfd50e
Compare
f187e31
to
55524a0
Compare
edition = { workspace = true } | ||
|
||
[dependencies] | ||
bincode = { workspace = true, optional = true } |
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.
Making serde and bincode optional won't remove those dependencies for now as solana-program still pulls them in, but by feature gating them from the start we avoid any breaking changes. In a later PR we'll remove the solana-program dep from this new crate
98282d0
to
9940d43
Compare
9940d43
to
7880055
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.
Looks good!
Great! @yihau I've sent a crate ownership invite to anza-team |
✅ |
Problem
Having the contents of
solana_sdk::account
available outside the SDK would help compile times and dependency hell. The most immediate unlock would be removing the solana-sdk dep from solana-account-decoder-client-types (created in #2872)Summary of Changes
account.rs
to its own crate