[package] name = "screenshoter" version = "0.1.4" edition = "2021" description = "Move to [XCap](https://crates.io/crates/xcap)" license = "Apache-2.0" documentation = "https://docs.rs/xcap" homepage = "https://github.com/nashaofu/xcap" repository = "https://github.com/nashaofu/xcap.git" keywords = ["xcap"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] image = "0.24" log = "0.4" thiserror = "1.0" [target.'cfg(target_os = "macos")'.dependencies] core-foundation = "0.9" core-graphics = "0.23" [target.'cfg(target_os = "windows")'.dependencies] windows = { version = "0.52", 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] percent-encoding = "2.3" xcb = { version = "1.3", features = ["randr"] } dbus = { version = "0.9", features = ["vendored"] }