focus-tracker 1.0.0

Cross-platform focus tracker for Linux (X11), macOS and Windows
Documentation
# 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"
name = "focus-tracker"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform focus tracker for Linux (X11), macOS and Windows"
homepage = "https://github.com/eurora-labs/eurora/tree/main/crates/common/focus-tracker"
readme = "README.md"
keywords = [
    "application",
    "desktop",
    "focus-tracker",
    "window-focus-tracker",
    "window-manager",
]
license = "Apache-2.0"
repository = "https://github.com/eurora-labs/eurora.git"
resolver = "2"

[lib]
name = "focus_tracker"
path = "src/lib.rs"

[[example]]
name = "advanced"
path = "examples/advanced.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[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"

[dependencies.bon]
version = "3"

[dependencies.focus-tracker-core]
version = "1.0.0"

[dependencies.image]
version = "0"

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "io-util",
    "macros",
    "rt",
    "rt-multi-thread",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0"

[dev-dependencies.ctrlc]
version = "3.4.5"

[dev-dependencies.image]
version = "0.25.9"

[dev-dependencies.serial_test]
version = "3.3.1"

[dev-dependencies.tracing-subscriber]
version = "0.3.22"

[dev-dependencies.winit]
version = "0.30.5"

[target.'cfg(target_os = "linux")'.dependencies.x11rb]
version = "0.13.1"

[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-foundation]
version = "0.3.2"

[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.61.1"
features = [
    "Win32_Foundation",
    "Win32_Graphics_Gdi",
    "Win32_System_ProcessStatus",
    "Win32_System_StationsAndDesktops",
    "Win32_System_Threading",
    "Win32_UI_Accessibility",
    "Win32_UI_Shell",
    "Win32_UI_WindowsAndMessaging",
]