# 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 = "2021" name = "x-win" version = "2.0.1" authors = ["BENKHADRA Hocine "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "This package allows you to retrieve precise information about active and open windows on Windows, MacOS, and Linux. You can obtain the position, size, title, and other memory of windows." readme = "README.md" keywords = [ "window", "active", "current", "position", "open", ] license = "MIT" repository = "https://github.com/miniben-90/x-win" [profile.release] lto = true panic = "abort" [lib] name = "x_win" path = "src/lib.rs" [[example]] name = "get_active_window" path = "examples/get_active_window.rs" [[example]] name = "get_open_windows" path = "examples/get_open_windows.rs" [[example]] name = "get_window_icon" path = "examples/get_window_icon.rs" [dependencies.base64] version = "0.22.1" [dependencies.once_cell] version = "1.20.2" [target.'cfg(target_os = "linux")'.dependencies.image] version = "0.25.2" [target.'cfg(target_os = "linux")'.dependencies.serde_json] version = "1.0.128" [target.'cfg(target_os = "linux")'.dependencies.x11] version = "2.21.0" features = ["xlib"] optional = true [target.'cfg(target_os = "linux")'.dependencies.xcb] version = "1.4.0" [target.'cfg(target_os = "linux")'.dependencies.zbus] version = "1.9.2" [target.'cfg(target_os = "macos")'.dependencies.cocoa] version = "0.26.0" [target.'cfg(target_os = "macos")'.dependencies.cocoa-foundation] version = "0.2.0" [target.'cfg(target_os = "macos")'.dependencies.core-foundation] version = "0.10.0" [target.'cfg(target_os = "macos")'.dependencies.core-foundation-sys] version = "0.8.7" [target.'cfg(target_os = "macos")'.dependencies.core-graphics] version = "0.24.0" [target.'cfg(target_os = "macos")'.dependencies.libc] version = "0.2.159" [target.'cfg(target_os = "macos")'.dependencies.objc] version = "0.2.7" [target.'cfg(target_os = "windows")'.dependencies.png] version = "0.17.14" [target.'cfg(target_os = "windows")'.dependencies.windows] version = "0.58.0" features = [ "Win32_Foundation", "Win32_UI_WindowsAndMessaging", "Win32_System_Threading", "Win32_Storage_FileSystem", "Win32_System_ProcessStatus", "Win32_System_StationsAndDesktops", "Win32_UI_Input_KeyboardAndMouse", "Win32_Graphics_Dwm", "UI_UIAutomation", "Win32_System_Com", "Win32_UI_Accessibility", "Win32_System_Ole", "Win32_UI_Shell_PropertiesSystem", "Win32_UI_Shell_Common", "Win32_System_Variant", "Win32_Graphics_Gdi", "Win32_Graphics_Imaging", ]