Skip to content

Building with default features on macOS requires rustc v1.79 or newer.Β #2261

Closed
@dmbfm

Description

@dmbfm

I am using macOS Sonoma 14.4.1, rustc/cargo version 1.77.2. When trying to use the image crate with the default features enabled I get an error about the minimum required rust version.

Expected

Since the minimum version for the image crate is 1.67.1, the program should build correctly.

Actual behaviour

I get the following message when trying to run cargo build:

error: package `ravif v0.11.7` cannot be built because it requires rustc 1.79 or newer, while the currently active rustc version is 1.77.2
Either upgrade to rustc 1.79 or newer, or use
cargo update [email protected] --precise ver
where `ver` is the latest version of `ravif` supporting rustc 1.77.2

Reproduction steps

cargo new image-test
cd image-test
cargo add image
cargo build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions