window-observer 0.2.0

The library for observing information about the 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 = "window-observer"
version = "0.2.0"
authors = ["Takagi Tasuku <tasuren@outlook.jp>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The library for observing information about the windows."
readme = "README.md"
keywords = [
    "window",
    "window-observer",
    "windows",
    "macos",
]
categories = [
    "os::windows-apis",
    "os::macos-apis",
]
license = "MIT"
repository = "https://github.com/tasuren/window-observer-rs"

[package.metadata.docs.rs]
all-features = true
targets = [
    "x86_64-pc-windows-msvc",
    "aarch64-apple-darwin",
]

[features]
default = []
macos-private-api = []

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

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

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

[dependencies.bitflags]
version = "2.10.0"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.48"
features = ["sync"]
default-features = false

[dependencies.window-getter]
version = "0.1.2"

[dev-dependencies.tokio]
version = "1.48"
features = [
    "rt",
    "macros",
    "rt-multi-thread",
]

[target.'cfg(target_os = "macos")'.dependencies.accessibility]
version = "0.2.0"

[target.'cfg(target_os = "macos")'.dependencies.accessibility-sys]
version = "0.2.0"

[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10.1"

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.3"

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3.2"
features = [
    "CFString",
    "CFRunLoop",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.2"
features = [
    "alloc",
    "NSNotification",
]
default-features = false

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62"
features = [
    "Win32_Foundation",
    "Win32_UI_WindowsAndMessaging",
    "Win32_UI_Accessibility",
]

[target.'cfg(target_os = "windows")'.dependencies.wineventhook]
version = "0.10"