Skip to content

Conversation

@febo
Copy link
Contributor

@febo febo commented Oct 31, 2025

Problem

There was a major version of solana-hash since features were created so dependencies are optional and the crate was made no_std compatible. Although the types between the version have not changed, the major bump makes them to be considered different.

Solution

Follow the semver trick and re-export the v4 type on v3, so they will be considered the same type.

[profile.dev.build-override]
opt-level = 1

[patch.crates-io]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are all solana-* dependencies from the hash crate so they will always use the repository version instead of crates.io ones.

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.

1 participant