# 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 = "xcap" version = "0.0.14" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "XCap is a cross-platform screen capture library written in Rust. It supports Linux (X11, Wayland), MacOS, and Windows. XCap supports screenshot and video recording (to be implemented)." homepage = "https://github.com/nashaofu/xcap" documentation = "https://docs.rs/xcap" readme = "README.md" keywords = [ "screen", "monitor", "window", "capture", "image", ] license = "Apache-2.0" repository = "https://github.com/nashaofu/xcap.git" [lib] name = "xcap" path = "src/lib.rs" [[example]] name = "monitor" path = "examples/monitor.rs" [[example]] name = "monitor_capture" path = "examples/monitor_capture.rs" [[example]] name = "window" path = "examples/window.rs" [[example]] name = "window_capture" path = "examples/window_capture.rs" [[example]] name = "window_record" path = "examples/window_record.rs" [dependencies.image] version = "0.25" [dependencies.log] version = "0.4" [dependencies.sysinfo] version = "0.32" [dependencies.thiserror] version = "1.0" [dev-dependencies.fs_extra] version = "1.3" [features] vendored = ["dbus/vendored"] [target.'cfg(target_os = "macos")'.dependencies.core-foundation] version = "0.10" [target.'cfg(target_os = "macos")'.dependencies.core-graphics] version = "0.24" [target.'cfg(target_os = "windows")'.dependencies.windows] version = "0.58" features = [ "Win32_Foundation", "Win32_Graphics_Gdi", "Win32_Graphics_Dwm", "Win32_UI_WindowsAndMessaging", "Win32_Storage_Xps", "Win32_System_Threading", "Win32_System_ProcessStatus", "Win32_Storage_FileSystem", ] [target.'cfg(target_os="linux")'.dependencies.dbus] version = "0.9" [target.'cfg(target_os="linux")'.dependencies.percent-encoding] version = "2.3" [target.'cfg(target_os="linux")'.dependencies.xcb] version = "1.4" features = ["randr"]