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

subtl dependency broken again #19

Closed
aep opened this issue Jan 10, 2019 · 5 comments
Closed

subtl dependency broken again #19

aep opened this issue Jan 10, 2019 · 5 comments

Comments

@aep
Copy link

aep commented Jan 10, 2019

subtle 0.7 was yanked, but x25519-dalek requires exactly curve25519-dalek 0.19, which depends on exactly subtle 0.7

    Updating git repository `https://github.com/quininer/rust-hacl-star.git`
    Updating crates.io index
error: failed to select a version for the requirement `subtle = "^0.7"`
  candidate versions found which didn't match: 2.0.0, 1.0.0
  location searched: crates.io index
required by package `curve25519-dalek v0.19.0`
    ... which is depended on by `x25519-dalek v0.3.0`
    ... which is depended on by `carrier v0.8.0 (/home/aep/proj/devguard/carrier2)`

aep added a commit to aep/x25519-dalek that referenced this issue Jan 10, 2019
@blackbeam
Copy link

As a workaround you can clone registry:

git clone --bare https://github.com/rust-lang/crates.io-index.git

then revert 61302e43a378df5d0b0bd190ad8d6ae76d76d56b and use this regestry as an index in your ~/.cargo/config:

[registry]
index = "file:///tmp/crates.io-index.git"

@hdevalence
Copy link
Contributor

This should be fixed via crates.io now, sorry about that.

@aep
Copy link
Author

aep commented Jan 10, 2019

thanks, any chance the curve25519-dalek will be updated some day? carrying around alot of old stuff just for x25519-dalek

@hdevalence
Copy link
Contributor

Yes, it's done in the develop branch, there just needs to be a 0.4.0 release.

@aep
Copy link
Author

aep commented Jan 10, 2019

ack, thanks

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 a pull request may close this issue.

3 participants