From 8b771c60dcee86da062f424fba4914916182be54 Mon Sep 17 00:00:00 2001 From: AudaciousAxiom <179637270+AudaciousAxiom@users.noreply.github.com> Date: Sun, 26 Jul 2026 16:34:48 +0200 Subject: [PATCH 1/2] chore(workspace): bump the MSRV to 1.71 --- Cargo.toml | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6ab91199c3..ec21ba73c4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ default-members = [ [workspace.package] # If you change this, also update README.md -rust-version = "1.70.0" +rust-version = "1.71.0" edition = "2021" # All dependency version management is centralized here diff --git a/README.md b/README.md index b35dee3bef..9c8b7b2872 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,9 @@ extern "C" { ## MSRV -The `bindgen` minimum supported Rust version is **1.70.0**. +The `bindgen` minimum supported Rust version is **1.71.0**. -The `bindgen-cli` minimum supported Rust version is **1.70.0**. +The `bindgen-cli` minimum supported Rust version is **1.71.0**. No MSRV bump policy has been established yet, so MSRV may increase in any release. From 8e5409338ff09ceb6a0cb3b89a3baac7a064a107 Mon Sep 17 00:00:00 2001 From: AudaciousAxiom <179637270+AudaciousAxiom@users.noreply.github.com> Date: Sun, 26 Jul 2026 16:33:44 +0200 Subject: [PATCH 2/2] chore(bindgen): bump `syn` to v3 --- Cargo.lock | 23 +++++++++++++++++------ Cargo.toml | 4 ++-- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 05eaf1cd9f..a8822092a1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -89,7 +89,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn", + "syn 3.0.3", ] [[package]] @@ -122,7 +122,7 @@ dependencies = [ "regex", "shlex", "similar", - "syn", + "syn 3.0.3", "tempfile", ] @@ -214,7 +214,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn", + "syn 2.0.104", ] [[package]] @@ -441,12 +441,12 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e" [[package]] name = "prettyplease" -version = "0.2.35" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "061c1221631e079b26479d25bbf2275bfe5917ae8419cd7e34f13bfc2aa7539a" +checksum = "2bfe0f4c752e450fc2faf62654f1c134747922825d5b04ca717b8874f41a40c0" dependencies = [ "proc-macro2", - "syn", + "syn 3.0.3", ] [[package]] @@ -588,6 +588,17 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "syn" +version = "3.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + [[package]] name = "tempfile" version = "3.27.0" diff --git a/Cargo.toml b/Cargo.toml index ec21ba73c4..f60777d2bf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ libloading = "0.8" log = "0.4" objc = "0.2" owo-colors = "4.1.0" -prettyplease = "0.2.7" +prettyplease = "0.3" proc-macro2 = "1.0.80" quickcheck = "1.0" quote = { version = "1", default-features = false } @@ -44,7 +44,7 @@ regex = { version = "1.5.3", default-features = false } rustc-hash = "2.1.0" shlex = "2" similar = "2.2.1" -syn = "2.0" +syn = "3.0" tempfile = "3.27.0" [workspace.lints.rust]