[dependencies.focus-tracker-core]
version = "0.0.2"
[dependencies.image]
version = "0.25.9"
[dependencies.tokio]
features = ["fs", "io-util", "macros", "rt", "rt-multi-thread", "sync", "time"]
optional = true
version = "1.48.0"
[dependencies.tracing]
version = "0.1.44"
[dev-dependencies.ctrlc]
version = "3.4.5"
[dev-dependencies.image]
version = "0.25.9"
[dev-dependencies.serial_test]
version = "3.1.1"
[dev-dependencies.tracing-subscriber]
version = "0.3.22"
[dev-dependencies.winit]
version = "0.30.5"
[[example]]
name = "advanced"
path = "examples/advanced.rs"
[[example]]
name = "async"
path = "examples/async.rs"
[[example]]
name = "async_thread_safe"
path = "examples/async_thread_safe.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[features]
async = ["tokio"]
[lib]
name = "focus_tracker"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Cross-platform focus tracker for Linux (X11), macOS and Windows"
edition = "2024"
homepage = "https://github.com/eurora-labs/eurora/tree/main/crates/common/focus-tracker"
keywords = ["application", "desktop", "focus-tracker", "window-focus-tracker", "window-manager"]
license = "Apache-2.0"
name = "focus-tracker"
readme = "README.md"
repository = "https://github.com/eurora-labs/eurora.git"
resolver = "2"
version = "0.0.2"
[target.'cfg(target_os = "linux")'.dependencies.x11rb]
version = "0.13.1"
[target.'cfg(target_os = "macos")'.dependencies.accessibility-sys]
version = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.cocoa]
version = "0.26.1"
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10.1"
[target.'cfg(target_os = "macos")'.dependencies.core-graphics]
version = "0.25"
[target.'cfg(target_os = "macos")'.dependencies.dispatch2]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.2"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_Graphics_Gdi", "Win32_System_ProcessStatus", "Win32_System_Threading", "Win32_UI_Accessibility", "Win32_UI_WindowsAndMessaging"]
version = "0.61.1"
[[test]]
name = "focus_change_detection"
path = "tests/focus_change_detection.rs"
[[test]]
name = "icon_validation"
path = "tests/icon_validation.rs"
[[test]]
name = "integration_basic"
path = "tests/integration_basic.rs"
[[test]]
name = "permission_fallback"
path = "tests/permission_fallback.rs"
[[test]]
name = "util"
path = "tests/util.rs"