The problem is that Cargo.toml requires rayon= "1.0", which means ">=1.0<2.0.0"according to semver. And the current latest version of rayon to meet this requirement is 1.1.0, which requires rustc 1.28.0 or greater.
So there are two solutions:
declare this library as requiring rustc >= 1.28.0 and updating .travis.yml (See PR #104)
declare this library as requiring rustc >= 1.24.0 and updating Cargo.toml to specify ~1.0 instead of 1.0 as the version of rayon. (See PR #103)
I would be in favor of the first option, because a lot of the ecosystem already requires later rust versions.
This library is continuously tested with rust 1.24 : https://github.com/kaksmet/jpeg-decoder/blob/master/.travis.yml
However, it currently does not compile with rust 1.24, because of a transitive dependency of rayon: https://travis-ci.org/kaksmet/jpeg-decoder/jobs/569851819
This causes all new pull requests to fail.
The problem is that
Cargo.toml
requiresrayon= "1.0"
, which means">=1.0<2.0.0"
according to semver. And the current latest version of rayon to meet this requirement is1.1.0
, which requires rustc 1.28.0 or greater.So there are two solutions:
.travis.yml
(See PR #104)Cargo.toml
to specify~1.0
instead of1.0
as the version of rayon. (See PR #103)I would be in favor of the first option, because a lot of the ecosystem already requires later rust versions.