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 conflict in Rayon branch #214

Open
barneydmedia opened this issue Sep 27, 2019 · 0 comments
Open

Dependency conflict in Rayon branch #214

barneydmedia opened this issue Sep 27, 2019 · 0 comments

Comments

@barneydmedia
Copy link

barneydmedia commented Sep 27, 2019

Things worked well when I was testing the library itself on the Send/Sync branch, but when I pulled it into my project the compiler couldn't find a suitable package. I had added Rayon through cargo add, but that added the hard version 1.2.0. jpeg-decoder requires version 1.1.0.

This can probably be resolved by setting rayon in Cargo.toml to something like version 1.x.

Compiler error:

Updating git repository `https://github.com/Razaekel/noise-rs.git`
    Updating crates.io index
error: failed to select a version for `rayon`.
    ... required by package `jpeg-decoder v0.1.16`
    ... which is depended on by `image v0.18.0`
    ... which is depended on by `noise v0.5.1 (https://github.com/Razaekel/noise-rs.git?branch=feature/send+sync#2bec40d0)`
    ... which is depended on by `level-gen0 v0.1.0 (/Users/barneydmedia/Desktop/level-gen0)`
versions that meet the requirements `= 1.1.0` are: 1.1.0

all possible versions conflict with previously selected packages.

  previously selected package `rayon v1.2.0`
    ... which is depended on by `noise v0.5.1 (https://github.com/Razaekel/noise-rs.git?branch=feature/send+sync#2bec40d0)`
    ... which is depended on by `level-gen0 v0.1.0 (/Users/barneydmedia/Desktop/level-gen0)`

failed to select a version for `rayon` which could resolve this conflict
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

1 participant