# 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 = "dxcapture" version = "1.1.3" authors = ["Humi@bass_clef_ "] description = "`dxcapture` is a library for capturing a Direct3D 11 device on Windows." homepage = "https://bass-clef.github.io/" documentation = "https://docs.rs/dxcapture/" keywords = ["opencv", "image", "windows", "directx", "capture"] categories = ["graphics", "rendering"] license = "MIT" repository = "https://github.com/bass-clef/dxcapture" resolver = "2" [package.metadata.docs.rs] default-target = "x86_64-pc-windows-msvc" features = ["docs"] targets = ["aarch64-pc-windows-msvc", "i686-pc-windows-msvc", "x86_64-pc-windows-msvc"] [dependencies.anyhow] version = "1" [dependencies.image] version = "0.23.14" optional = true [dependencies.opencv] version = "0.63" features = ["clang-runtime"] optional = true [dependencies.thiserror] version = "1.0" [dependencies.uuid] version = "0.8" features = ["v4"] [dependencies.winapi] version = "0.3.9" features = ["d2d1", "d3d11", "d3dcommon", "dwmapi", "dxgi", "impl-default", "roapi", "std", "wincon", "winuser"] [dependencies.windows] version = "0.30.0" features = ["Foundation", "Graphics_Capture", "Graphics_DirectX_Direct3D11", "UI", "Win32_Foundation", "Win32_Graphics_Direct3D", "Win32_Graphics_Direct3D11", "Win32_Graphics_Dxgi", "Win32_Graphics_Dxgi_Common", "Win32_Graphics_Gdi", "Win32_System_WinRT", "Win32_System_WinRT_Direct3D11", "Win32_System_WinRT_Graphics_Capture", "Win32_UI_WindowsAndMessaging"] [dependencies.winrt] version = "0.7" [features] default = [] docs = ["docs-only", "docs-nolink", "docs-features"] docs-features = [] docs-nolink = ["opencv/docs-only"] docs-only = ["img", "mat"] img = ["image"] mat = ["opencv", "opencv/clang-runtime"]