Error while building: "perhaps two different versions of crate `image` are being used?"

This page summarizes the projects mentioned and recommended in the original post on /r/learnrust

Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. bardecoder

    Detect and decode QR Codes, written in 100% Rust.

    The culprit appears to be bardecoder 0.4.1. This issue describes the desire to support image 0.24. It looks like the developer added support by setting the version constraints to allow either 0.23 or 0.24 in a patch version bump. Since this crate appears as part of its public API I would consider this to be a breaking change. It has certainly broken the project you were trying to build because it is trying to use the newer image 0.24 from the other dependencies. You should be able to confirm by running cargo tree.

  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. nokhwa

    Cross Platform Rust Library for Powerful Webcam/Camera Capture

    It looks like the issue is with nokhwa. There are three open issues that reference the error: 72, 94 and 100. It looks like someone had luck switching from NV12 to YUYV after opening the stream but then I think you might end up with issue 90 where everything is pink so hyperbacked will infinitely loop waiting for an image since it can't actually read anything. The YUYV issue might have been fixed but the crate has been failing to build since the last release. That rules out setting the dependency to use the git repository. I think you just need to wait for a new release of nokhwa that fixes the issues but I don't know when that will be.

  4. hyperbacked

    🔐 Superbacked, but in Rust

    Hi, I'm not a developer. I'm just trying to install this app on a m1 mac. I run cargo build but I got this error:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Have you seen my "Camerata" lib?

    2 projects | /r/Python | 12 Oct 2023
  • Nokhwa 0.10 Released - Simple to use Cross Platform Rust Library for Powerful Webcam/Camera Capture

    1 project | /r/rust | 19 Dec 2022
  • HTML5-qrcode – open-source, cross platform HTML5 QR code reader

    1 project | news.ycombinator.com | 5 Apr 2024
  • SwiftUI camera library that allows you to set up camera and album in just 2 lines

    1 project | /r/SwiftUI | 6 Dec 2023
  • SwiftUI camera library that allows you to set up camera and album in just 2 lines

    1 project | /r/iOSProgramming | 6 Dec 2023