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

New release needed for digest v0.11.0-pre.8 compatibility #409

Closed
itsbalamurali opened this issue Feb 3, 2024 · 3 comments
Closed

New release needed for digest v0.11.0-pre.8 compatibility #409

itsbalamurali opened this issue Feb 3, 2024 · 3 comments

Comments

@itsbalamurali
Copy link

Hi, Dependency versions are broken across RustCrypto repos.

error: failed to select a version for `digest`.
    ... required by package `sha2 v0.11.0-pre.3`
    ... which satisfies dependency `sha2 = "^0.11.0-pre.3"` of package `samael v0.0.14`
versions that meet the requirements `=0.11.0-pre.8` are: 0.11.0-pre.8

all possible versions conflict with previously selected packages.

  previously selected package `digest v0.11.0-pre.7`
    ... which satisfies dependency `digest = "=0.11.0-pre.7"` of package `rsa v0.10.0-pre.0`
    ... which satisfies dependency `rsa = "^0.10.0-pre.0"` of package `samael v0.0.14`

failed to select a version for `digest` which could resolve this conflict

My deps in Cargo.toml

# rustcrypto
rsa = { version = "0.10.0-pre.0", features = ["sha2"], optional = true}
sha2 = { version = "0.11.0-pre.3", optional = true }
x509-cert = { git = "https://github.com/RustCrypto/formats.git", features = ["pem","builder","std"],optional = true }
@tarcieri
Copy link
Member

tarcieri commented Feb 3, 2024

Yes, rsa specifically needs updated. Other combinations of crates should work.

@tarcieri tarcieri changed the title Dependency versions are broken across RustCrypto repos New release needed for digest v0.11.0-pre.8 compatibility Feb 5, 2024
@tarcieri
Copy link
Member

tarcieri commented Feb 6, 2024

Fixed in #410 and released as v0.10.0-pre.1

@tarcieri tarcieri closed this as completed Feb 6, 2024
@itsbalamurali
Copy link
Author

Thanks @tarcieri 👍🏼

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