# 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 = "crabgrab" version = "0.4.0" authors = [ "Augmend, Inc. ", "Liam Taylor ", "Tim Misiak ", ] exclude = [ "spellcheck/", "update_doc_copy.ps1", "update_doc_copy.sh", "docs/", ".gitignore", ".vscode/", ] description = "A cross-platform screen/window capture crate" homepage = "https://github.com/AugmendTech/CrabGrab" documentation = "https://docs.rs/crabgrab" readme = "README.md" keywords = [ "capture", "graphics", "window", "screen", "media", ] categories = [ "graphics", "hardware-support", "multimedia", "os", ] license = "MIT OR Apache-2.0" repository = "https://github.com/AugmendTech/CrabGrab" [package.metadata.docs.rs] features = [ "iosurface", "metal", "dxgi", "dx11", "bitmap", "screenshot", "wgpu", ] targets = ["x86_64-pc-windows-msvc"] [package.metadata.spellcheck] config = "spellcheck/cfg.toml" [dependencies.bytemuck] version = "1.15" optional = true [dependencies.futures] version = "0.3" [dependencies.half] version = "2.4" features = ["bytemuck"] optional = true [dependencies.parking_lot] version = "0.12" [dev-dependencies.futures] version = "0.3" [dev-dependencies.tokio] version = "1.37" features = [ "rt", "macros", "rt-multi-thread", ] [dev-dependencies.wgpu] version = "0.20" [features] bitmap = [ "dep:bytemuck", "dep:half", "dx11", ] diagnostic = [] dx11 = ["dxgi"] dxgi = [] iosurface = [] metal = ["dep:metal"] screenshot = ["bitmap"] wgpu = [ "dep:wgpu", "dep:winapi", "dx11", "dxgi", "metal", ] [target."cfg(target_os = \"macos\")".dependencies.block2] version = "0.5" [target."cfg(target_os = \"macos\")".dependencies.core-graphics-types] version = "0.1" [target."cfg(target_os = \"macos\")".dependencies.lazy_static] version = "1.4" [target."cfg(target_os = \"macos\")".dependencies.libc] version = "~0.2.33" [target."cfg(target_os = \"macos\")".dependencies.mach2] version = "0.4" [target."cfg(target_os = \"macos\")".dependencies.metal] version = "0.28" optional = true [target."cfg(target_os = \"macos\")".dependencies.objc2] version = "0.5" [target."cfg(target_os = \"macos\")".dependencies.wgpu] version = "^0.20" features = [ "metal", "hal", ] optional = true [target."cfg(target_os = \"windows\")".dependencies.d3d12] version = "0.20" [target."cfg(target_os = \"windows\")".dependencies.wgpu] version = "0.20" features = [ "dx12", "hal", ] optional = true [target."cfg(target_os = \"windows\")".dependencies.winapi] version = "0.3" optional = true [target."cfg(target_os = \"windows\")".dependencies.windows] version = "0.52" features = [ "Win32_Foundation", "Win32_System_Threading", "Win32_UI_WindowsAndMessaging", "Win32_Graphics_Gdi", "Graphics_Capture", "Graphics_DirectX_Direct3D11", "Win32_Graphics", "Win32_Graphics_Direct3D_Fxc", "Win32_Graphics_Direct3D", "Win32_Graphics_Direct3D10", "Win32_Graphics_Direct3D11", "Win32_Graphics_Direct3D12", "Win32_Graphics_Direct3D11on12", "Win32_Graphics_Dwm", "Win32_Graphics_Dxgi_Common", "Win32_Graphics_Dxgi", "Win32_Graphics_Gdi", "Win32_UI_HiDpi", "Win32_Graphics_Hlsl", "Win32_Media_Audio", "Win32_System_ProcessStatus", "Win32_System_WinRT_Direct3D11", "Win32_System_WinRT_Graphics_Capture", "Win32_System_WinRT", "Win32_System_Com", "Win32_System_Com_StructuredStorage", "Win32_System_Variant", "Win32_Security", "Foundation", "Security_Authorization_AppCapabilityAccess", "UI_Core", "ApplicationModel_Core", "System", ]