eye-rs
eye-rs copied to clipboard
Compilation error after upgrading to version 0.5.0
Version 0.4.1 works fine. seems something wrong with 0.5.0?
error: failed to select a version for the requirement `mozjpeg-sys = "^0.10.4"`
candidate versions found which didn't match: 2.2.1, 2.2.0, 2.1.0, ...
required by package `uvc-src v0.2.1`
... which satisfies dependency `uvc-src = "^0.2.1"` of package `uvc-sys v0.2.0`
... which satisfies dependency `uvc-sys = "^0.2.0"` of package `uvc v0.2.0`
... which satisfies dependency `uvc = "^0.2.0"` of package `eye-hal v0.2.0`
... which satisfies dependency `eye-hal = "^0.2.0"` of package `eye v0.5.0`
... which satisfies dependency `eye = "^0.5.0"` of package `ar v0.1.0`
perhaps a crate was updated and forgotten to be re-vendored?
According to this one https://github.com/kornelski/mozjpeg-sys/issues/39, it should be upgraded to latest version. The issue is introduced by uvc-src . It is an optional dependency, is eye using this feature?
rustc 1.80.1 (3f5fd8dd4 2024-08-06) Ubuntu 22.04.4 LTS
cargo 1.80.1 (376290515 2024-07-16)
Submited a PR to upgrade uvc dependencies version here: https://github.com/l1npengtul/libuvc-rs/pull/33
I still get a similar error (happens under Linux and MacOS)
error: failed to select a version for the requirement `mozjpeg-sys = "^0.10.4"`
version 0.10.4 is yanked
version 0.10.5 is yanked
version 0.10.6 is yanked
version 0.10.7 is yanked
version 0.10.8 is yanked
version 0.10.9 is yanked
version 0.10.10 is yanked
version 0.10.11 is yanked
version 0.10.12 is yanked
version 0.10.13 is yanked
location searched: crates.io index
required by package `uvc-src v0.2.1`
... which satisfies dependency `uvc-src = "^0.2.1"` of package `uvc-sys v0.2.0`
... which satisfies dependency `uvc-sys = "^0.2.0"` of package `uvc v0.2.0`
... which satisfies dependency `uvc = "^0.2.0"` of package `eye-hal v0.2.0`
... which satisfies dependency `eye-hal = "^0.2.0"` of package `eye v0.5.0`