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

Dependency error #18

Open
cz-cube opened this issue Nov 18, 2024 · 1 comment
Open

Dependency error #18

cz-cube opened this issue Nov 18, 2024 · 1 comment

Comments

@cz-cube
Copy link

cz-cube commented Nov 18, 2024

    Updating crates.io index
error: failed to select a version for `blake3`.
    ... required by package `solana-program v1.18.0`
    ... which satisfies dependency `solana-program = "=1.18.0"` of package `solana-sdk v1.18.0`
    ... which satisfies dependency `solana-sdk = "=1.18.0"` of package `solana-account-decoder v1.18.0`
    ... which satisfies dependency `solana-account-decoder = "~1.18"` of package `jupiter-swap-api-client v0.1.0 (https://github.com/jup-ag/jupiter-swap-api-client.git#e3c162b9)`
    ... which satisfies git dependency `jupiter-swap-api-client` of package `...`
versions that meet the requirements `^1.5.0` (locked to 1.5.4) are: 1.5.4

the package `solana-program` depends on `blake3`, with features: `digest` but `blake3` does not have these features.
 It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.

Maybe upgrade Solana dependencies from ~1.18 to 2?

@TaoSeekAI
Copy link

same issue how to fix it ?

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

2 participants