zeroize version incompatibility when importing aptos-crypto crate #664
Closed
martinsander00
started this conversation in
Dev Doc and Tutorial Feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to import aptos-crypto crate into my project to use ed25519 but I'm getting this issue:
error: failed to select a version for zeroize.
... required by package x25519-dalek v1.2.0
... which satisfies dependency x25519-dalek = "^1.2.0" of package aptos-crypto v0.0.3 (https://github.com/aptos-labs/aptos-core.git#6137e8f7)
... which satisfies git dependency aptos-crypto of package keyless-voting v0.1.0 (/Users/msander/Documents/Upenn/Projects/keyless_semaphore)
versions that meet the requirements =1.3 are: 1.3.0
all possible versions conflict with previously selected packages.
previously selected package zeroize v1.8.1
... which satisfies dependency zeroize = "^1" (locked to 1.8.1) of package ark-ec v0.4.2
... which satisfies dependency ark-ec = "^0.4" (locked to 0.4.2) of package keyless-voting v0.1.0 (/Users/msander/Documents/Upenn/Projects/keyless_semaphore)
failed to select a version for zeroize which could resolve this conflict
This is what I'm doing to import it:
[dependencies.aptos-crypto]
git = "https://github.com/aptos-labs/aptos-core.git"
package = "aptos-crypto"
Any help is appreciated
Beta Was this translation helpful? Give feedback.
All reactions