[package]
edition = "2024"
name = "windows-capture"
version = "2.0.0"
authors = ["NiiightmareXD"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fastest Windows Screen Capture Library For Rust 🔥"
documentation = "https://docs.rs/windows-capture"
readme = "README.md"
keywords = [
"screenshot",
"screen",
"capture",
"graphics",
"windows",
]
categories = [
"api-bindings",
"graphics",
"gui",
"multimedia",
"os::windows-apis",
]
license = "MIT"
repository = "https://github.com/NiiightmareXD/windows-capture"
resolver = "3"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = ["x86_64-pc-windows-msvc"]
[lib]
name = "windows_capture"
path = "src/lib.rs"
[[example]]
name = "cli"
path = "examples/cli.rs"
doc-scrape-examples = false
[[example]]
name = "dxgi_duplication"
path = "examples/dxgi_duplication.rs"
doc-scrape-examples = false
[[example]]
name = "graphics_capture"
path = "examples/graphics_capture.rs"
doc-scrape-examples = false
[[example]]
name = "stream_capture"
path = "examples/stream_capture.rs"
doc-scrape-examples = false
[dependencies.parking_lot]
version = "0.12.5"
[dependencies.rayon]
version = "1.12.0"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.windows]
version = "0.62.2"
features = [
"Foundation_Metadata",
"Foundation",
"Graphics_Capture",
"Graphics_DirectX_Direct3D11",
"Graphics_Imaging",
"Media_Core",
"Media_MediaProperties",
"Media_Transcoding",
"Security_Cryptography",
"Storage_Streams",
"Storage",
"System",
"Win32_Devices_Display",
"Win32_Foundation",
"Win32_Graphics_Direct3D",
"Win32_Graphics_Direct3D11",
"Win32_Graphics_Dwm",
"Win32_Graphics_Dxgi_Common",
"Win32_Graphics_Gdi",
"Win32_System_Com",
"Win32_System_LibraryLoader",
"Win32_System_ProcessStatus",
"Win32_System_Threading",
"Win32_System_WinRT_Direct3D11",
"Win32_System_WinRT_Graphics_Capture",
"Win32_UI_HiDpi",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
"System_Threading",
]
[dependencies.windows-future]
version = "0.3.2"
[dev-dependencies.clap]
version = "4.6.0"
features = ["derive"]
[dev-dependencies.ctrlc]
version = "3.5.2"