Files
komorebi/crates/komorebi-testwin/Cargo.toml
T
LGUG2Z bb3c986f26 feat(e2e): give the macOS test window a class by its accessibility subrole
--class was accepted and ignored on macOS, so the scenarios that match a window by
a class could not run. The test window now sets its accessibility subrole to the
class (NSWindow setAccessibilitySubrole), and the host passes the app id of spawn as
--class.
2026-11-06 14:49:36 -08:00

46 lines
1.0 KiB
TOML

[package]
name = "komorebi-testwin"
version.workspace = true
edition = "2024"
description = "A plain window for the e2e suite to tile, with a control channel"
publish = false
[dependencies]
serde_json = { workspace = true }
[target.'cfg(windows)'.dependencies]
windows = { workspace = true }
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = { version = "0.6", default-features = false, features = ["std"] }
objc2-app-kit = { version = "0.3", default-features = false, features = [
"std",
"NSApplication",
"NSWindow",
"NSView",
"NSColor",
"NSResponder",
"NSScreen",
"NSGraphics",
"NSEvent",
"NSAccessibility",
"NSAccessibilityConstants",
"NSAccessibilityProtocols",
"NSRunningApplication",
"objc2-core-foundation",
"libc",
] }
objc2-core-foundation = { version = "0.3", default-features = false, features = [
"std",
"CFCGTypes",
] }
objc2-foundation = { version = "0.3", default-features = false, features = [
"std",
"NSString",
"NSGeometry",
"NSArray",
"NSDate",
"NSRunLoop",
"NSEnumerator",
] }