diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 259bd81100..96da5d9a9c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -38,14 +38,14 @@ jobs: strategy: fail-fast: false matrix: - rust: ["1.67.1", nightly, beta] + rust: ["1.70.0", nightly, beta] steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly - if: ${{ matrix.rust == '1.67.1' }} + if: ${{ matrix.rust == '1.70.0' }} - name: Generate Cargo.lock with minimal-version dependencies - if: ${{ matrix.rust == '1.67.1' }} + if: ${{ matrix.rust == '1.70.0' }} run: cargo -Zminimal-versions generate-lockfile - uses: dtolnay/rust-toolchain@v1 @@ -58,7 +58,7 @@ jobs: - name: build run: cargo build -v - name: test - if: ${{ matrix.rust != '1.67.1' }} + if: ${{ matrix.rust != '1.70.0' }} run: cargo test -v && cargo doc -v test_other_archs: diff --git a/Cargo.toml b/Cargo.toml index d1a0827745..4a6108a26c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" resolver = "2" # note: when changed, also update test runner in `.github/workflows/rust.yml` -rust-version = "1.67.1" +rust-version = "1.70.0" license = "MIT OR Apache-2.0" description = "Imaging library. Provides basic image processing and encoders/decoders for common image formats." @@ -49,7 +49,7 @@ image-webp = { version = "0.2.0", optional = true } mp4parse = { version = "0.17.0", optional = true } png = { version = "0.17.6", optional = true } qoi = { version = "0.4", optional = true } -ravif = { version = "0.11.3", default-features = false, optional = true } +ravif = { version = "0.11.11", default-features = false, optional = true } rayon = { version = "1.7.0", optional = true } rgb = { version = "0.8.48", default-features = false, optional = true } tiff = { version = "0.9.0", optional = true } @@ -85,7 +85,7 @@ tiff = ["dep:tiff"] webp = ["dep:image-webp"] # Other features -rayon = ["dep:rayon"] # Enables multi-threading +rayon = ["dep:rayon", "ravif?/threading"] # Enables multi-threading nasm = ["ravif?/asm"] # Enables use of nasm by rav1e (requires nasm to be installed) color_quant = ["dep:color_quant"] # Enables color quantization avif-native = ["dep:mp4parse", "dep:dcv-color-primitives", "dep:dav1d"] # Enable native dependency libdav1d