From 07b01691e03a549759fa6cbf0ea5a52e9c1a9b63 Mon Sep 17 00:00:00 2001 From: Arnold Loubriat Date: Tue, 1 Oct 2024 21:01:37 +0200 Subject: [PATCH] fix: Update minimum supported Rust version to 1.75 --- CONTRIBUTING.md | 2 +- Cargo.toml | 2 +- common/Cargo.toml | 1 - consumer/Cargo.toml | 1 + platforms/atspi-common/Cargo.toml | 1 - platforms/macos/Cargo.toml | 1 - platforms/unix/Cargo.toml | 1 + platforms/windows/Cargo.toml | 1 + platforms/winit/Cargo.toml | 1 + 9 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6a4962559..b48825a05 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,7 +11,7 @@ When reporting an issue, in order to help the maintainers understand what the pr When making a code contribution to AccessKit, before opening your pull request please make sure that: -- your patch builds with AccessKit's minimal supported Rust version (currently Rust 1.70) +- your patch builds with AccessKit's minimal supported Rust version (currently Rust 1.75) - you added tests where applicable - you tested your modifications on all impacted platforms (see below) - you updated any relevant documentation diff --git a/Cargo.toml b/Cargo.toml index 0d0287d75..ab35fdd68 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ categories = ["gui"] edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/AccessKit/accesskit" -rust-version = "1.70" +rust-version = "1.75" [profile.release] lto = true diff --git a/common/Cargo.toml b/common/Cargo.toml index de22d15b6..081875db1 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -25,4 +25,3 @@ enumn = ["dep:enumn"] pyo3 = ["dep:pyo3"] serde = ["dep:serde", "enumn"] schemars = ["dep:schemars", "serde"] - diff --git a/consumer/Cargo.toml b/consumer/Cargo.toml index 052adf943..d3b4c0a0b 100644 --- a/consumer/Cargo.toml +++ b/consumer/Cargo.toml @@ -14,3 +14,4 @@ rust-version.workspace = true [dependencies] accesskit = { version = "0.16.1", path = "../common" } immutable-chunkmap = "2.0.5" + diff --git a/platforms/atspi-common/Cargo.toml b/platforms/atspi-common/Cargo.toml index 4e27aea3c..2f6bcb43b 100644 --- a/platforms/atspi-common/Cargo.toml +++ b/platforms/atspi-common/Cargo.toml @@ -21,4 +21,3 @@ atspi-common = { version = "0.3.0", default-features = false } serde = "1.0" thiserror = "1.0.39" zvariant = { version = "3", default-features = false } - diff --git a/platforms/macos/Cargo.toml b/platforms/macos/Cargo.toml index 1b347bfef..da060637c 100644 --- a/platforms/macos/Cargo.toml +++ b/platforms/macos/Cargo.toml @@ -34,4 +34,3 @@ objc2-app-kit = { version = "0.2.0", features = [ "NSView", "NSWindow", ] } - diff --git a/platforms/unix/Cargo.toml b/platforms/unix/Cargo.toml index 723dd46ac..b8158132d 100644 --- a/platforms/unix/Cargo.toml +++ b/platforms/unix/Cargo.toml @@ -36,3 +36,4 @@ tokio-stream = { version = "0.1.14", optional = true } version = "1.32.0" optional = true features = ["macros", "net", "rt", "sync", "time"] + diff --git a/platforms/windows/Cargo.toml b/platforms/windows/Cargo.toml index 0ede09050..c17a778ca 100644 --- a/platforms/windows/Cargo.toml +++ b/platforms/windows/Cargo.toml @@ -37,3 +37,4 @@ features = [ once_cell = "1.13.0" scopeguard = "1.1.0" winit = "0.30" + diff --git a/platforms/winit/Cargo.toml b/platforms/winit/Cargo.toml index a64f7d62a..94fa4a27a 100644 --- a/platforms/winit/Cargo.toml +++ b/platforms/winit/Cargo.toml @@ -40,3 +40,4 @@ accesskit_unix = { version = "0.12.1", path = "../unix", optional = true, defaul version = "0.30" default-features = false features = ["x11", "wayland", "wayland-dlopen", "wayland-csd-adwaita"] +