Skip to content

Commit f8c22cb

Browse files
fix!: Update minimum supported Rust version to 1.85 (#683)
1 parent a2269bb commit f8c22cb

File tree

11 files changed

+6
-8
lines changed

11 files changed

+6
-8
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ When reporting an issue, in order to help the maintainers understand what the pr
1111

1212
When making a code contribution to AccessKit, before opening your pull request please make sure that:
1313

14-
- your patch builds with AccessKit's minimal supported Rust version (currently Rust 1.77.2)
14+
- your patch builds with AccessKit's minimal supported Rust version (currently Rust 1.85)
1515
- you added tests where applicable
1616
- you tested your modifications on all impacted platforms (see below)
1717
- you updated any relevant documentation

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ categories = ["gui"]
2222
edition = "2021"
2323
license = "MIT OR Apache-2.0"
2424
repository = "https://github.com/AccessKit/accesskit"
25-
rust-version = "1.77.2"
25+
rust-version = "1.85"
2626

2727
[workspace.dependencies]
2828
hashbrown = { version = "0.16", default-features = false, features = ["default-hasher"] }

common/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ enumn = ["dep:enumn"]
2727
pyo3 = ["dep:pyo3"]
2828
serde = ["dep:serde", "enumn", "uuid/serde"]
2929
schemars = ["dep:schemars", "dep:serde_json", "serde", "schemars/uuid1"]
30+

consumer/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ rust-version.workspace = true
1414
[dependencies]
1515
accesskit = { version = "0.23.0", path = "../common" }
1616
hashbrown.workspace = true
17+

consumer/src/node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ impl<'a> Node<'a> {
773773
first_text_run
774774
.data()
775775
.value()
776-
.map_or(true, |value| value.is_empty())
776+
.is_none_or(|value| value.is_empty())
777777
&& text_runs.next().is_none()
778778
} else {
779779
true

platforms/android/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ accesskit = { version = "0.23.0", path = "../../common" }
1919
accesskit_consumer = { version = "0.33.1", path = "../../consumer" }
2020
jni = "0.21.1"
2121
log = "0.4.17"
22-

platforms/atspi-common/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ accesskit_consumer = { version = "0.33.1", path = "../../consumer" }
2020
atspi-common = { version = "0.13", default-features = false }
2121
serde = "1.0"
2222
zvariant = { version = "5.4", default-features = false }
23-

platforms/macos/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ objc2-app-kit = { version = "0.2.0", features = [
3434
"NSView",
3535
"NSWindow",
3636
] }
37-

platforms/unix/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,3 @@ tokio-stream = { version = "0.1.14", optional = true }
3636
version = "1.32.0"
3737
optional = true
3838
features = ["macros", "net", "rt", "sync", "time"]
39-

platforms/windows/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,3 @@ once_cell = "1.13.0"
4242
parking_lot = "0.12.4"
4343
scopeguard = "1.1.0"
4444
winit = "0.30"
45-

0 commit comments

Comments
 (0)