mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-16 05:31:02 +00:00
8ced905843
* claim: #7535 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Vendor accesskit_macos 0.26.3 as published (#7535) The published package, unchanged, so the next commit shows the fix as a diff. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * macOS: quitting on a Mac with a Touch Bar no longer crashes (#7535) eframe's accessibility adapter (accesskit_macos 0.26.3) swaps the window's view to a subclass of its own. When AppKit's Touch Bar observes the first responder (nextResponder), key-value observing subclasses the view again. Dropping the adapter on quit reset the view's class, which threw away KVO's subclass, so AppKit's removal of its observer raised NSRangeException ("not registered as an observer") and the app ended with EXC_BREAKPOINT. accesskit_macos 0.27.2 fixes this (AccessKit/accesskit#835), but egui 0.36 is on accesskit 0.24, so vendor 0.26.3 with 0.27.2's src/subclass.rs and its tests: the adapter leaves the class alone when KVO subclassed the view. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
88 lines
1.9 KiB
TOML
88 lines
1.9 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2024"
|
|
rust-version = "1.85"
|
|
name = "accesskit_macos"
|
|
version = "0.26.3"
|
|
authors = ["The AccessKit contributors"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "AccessKit UI accessibility infrastructure: macOS adapter"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"gui",
|
|
"ui",
|
|
"accessibility",
|
|
]
|
|
categories = ["gui"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/AccessKit/accesskit"
|
|
resolver = "2"
|
|
|
|
[package.metadata.docs.rs]
|
|
default-target = "x86_64-apple-darwin"
|
|
|
|
[lib]
|
|
name = "accesskit_macos"
|
|
path = "src/lib.rs"
|
|
|
|
# SolidCraft: accesskit_macos 0.27.2's tests of the subclassing adapter, with its fix (vendor/README.md).
|
|
[[test]]
|
|
name = "integration"
|
|
path = "tests/integration/main.rs"
|
|
harness = false
|
|
|
|
[dependencies.accesskit]
|
|
version = "0.24.1"
|
|
|
|
[dependencies.accesskit_consumer]
|
|
version = "0.38.0"
|
|
|
|
[dependencies.hashbrown]
|
|
version = "0.16"
|
|
features = ["default-hasher"]
|
|
default-features = false
|
|
|
|
[dependencies.objc2]
|
|
version = "0.5.1"
|
|
|
|
[dependencies.objc2-app-kit]
|
|
version = "0.2.0"
|
|
features = [
|
|
"NSAccessibility",
|
|
"NSAccessibilityConstants",
|
|
"NSAccessibilityElement",
|
|
"NSAccessibilityProtocols",
|
|
"NSColor",
|
|
"NSResponder",
|
|
"NSText",
|
|
"NSView",
|
|
"NSWindow",
|
|
]
|
|
|
|
[dependencies.objc2-foundation]
|
|
version = "0.2.0"
|
|
features = [
|
|
"NSArray",
|
|
"NSDictionary",
|
|
"NSValue",
|
|
"NSThread",
|
|
]
|
|
|
|
[dev-dependencies.libtest-mimic]
|
|
version = "0.8.2"
|