diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 63605cd6..b3dcc1fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -201,8 +201,8 @@ jobs: echo "PKG_CONFIG_PATH=$PWD/ffmpeg-libs/lib/amd64/pkgconfig" >> "$GITHUB_ENV" echo "LD_LIBRARY_PATH=$PWD/ffmpeg-libs" >> "$GITHUB_ENV" # rust-version from Cargo.toml - - name: Install Rust 1.65.0 - uses: dtolnay/rust-toolchain@1.65.0 + - name: Install Rust 1.70.0 + uses: dtolnay/rust-toolchain@1.70.0 - uses: Swatinem/rust-cache@v2 with: prefix-key: "v2-rust" diff --git a/Cargo.lock.MSRV b/Cargo.lock.MSRV index e58d28cd..d84c6372 100644 --- a/Cargo.lock.MSRV +++ b/Cargo.lock.MSRV @@ -90,7 +90,7 @@ dependencies = [ "bitflags 2.7.0", "cexpr", "clang-sys", - "itertools", + "itertools 0.13.0", "proc-macro2", "quote", "regex", @@ -443,6 +443,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "jobserver" version = "0.1.32" @@ -745,7 +754,7 @@ dependencies = [ "built", "cfg-if", "interpolate_name", - "itertools", + "itertools 0.12.1", "libc", "libfuzzer-sys", "log", diff --git a/Cargo.toml b/Cargo.toml index b4bb92c2..7ca28dfa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ categories = ["multimedia"] include = ["LICENSE", "build.rs", "src/"] # When changing MSRV: Also update build.yml and README.md -rust-version = "1.65.0" +rust-version = "1.70.0" [dependencies] libc = "0.2" diff --git a/README.md b/README.md index d239dc2b..48cacf4b 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ If you have significant, demonstrable experience in Rust and multimedia-related ## Minimum supported Rust version (MSRV) -Both `ffmpeg-the-third` and `ffmpeg-sys-the-third` currently require a Rust version of 1.65.0 or higher. Increases in MSRV will result in a semver MINOR version increase. +Both `ffmpeg-the-third` and `ffmpeg-sys-the-third` currently require a Rust version of 1.70.0 or higher. Increases in MSRV will result in a semver MINOR version increase. If you are having issues compiling this crate on your version of Rust, there are two tools you can use to help find MSRV-compatible dependency versions: diff --git a/ffmpeg-sys-third/Cargo.toml b/ffmpeg-sys-third/Cargo.toml index d019e061..ae150b08 100644 --- a/ffmpeg-sys-third/Cargo.toml +++ b/ffmpeg-sys-third/Cargo.toml @@ -19,7 +19,7 @@ keywords = ["audio", "video"] categories = ["multimedia", "external-ffi-bindings"] # When changing MSRV: Also update build.yml and README.md -rust-version = "1.65.0" +rust-version = "1.70.0" [lib] # Disable doctests as a workaround for https://github.com/rust-lang/rust-bindgen/issues/1313