You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
inCargo.toml
to something like version 1.x.Compiler error:
The text was updated successfully, but these errors were encountered: