scrcap 0.1.0-alpha.2

Screen and system-audio capture for Windows, macOS and Linux
Documentation
# 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 = "2024"
name = "scrcap"
version = "0.1.0-alpha.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Screen and system-audio capture for Windows, macOS and Linux"
documentation = "https://docs.rs/scrcap"
readme = "README.md"
keywords = [
    "screen-capture",
    "screencast",
    "screenshot",
    "audio",
]
categories = [
    "multimedia::video",
    "multimedia::audio",
    "os",
]
license = "MIT"
repository = "https://github.com/kingwingfly/scrcap"

[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = ["aarch64-apple-darwin"]

[features]
default = []
dummy = ["dep:rand"]

[lib]
name = "scrcap"
path = "src/lib.rs"

[[example]]
name = "winit"
path = "examples/winit.rs"

[dependencies.crossbeam-channel]
version = "0.5.17"

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.rand]
version = "0.10.2"
optional = true

[dependencies.thiserror]
version = "2.0.20"

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies.anyhow]
version = "1.0.104"

[dev-dependencies.bytemuck]
version = "1.25.2"
features = ["derive"]

[dev-dependencies.env_logger]
version = "0.11.11"

[dev-dependencies.log]
version = "0.4.34"

[dev-dependencies.pollster]
version = "1.0.1"

[dev-dependencies.wgpu]
version = "30.0.1"

[dev-dependencies.winit]
version = "0.30.13"

[target.'cfg(any(target_os = "windows", target_os = "macos"))'.dependencies.regex]
version = "1.12.3"

[target.'cfg(target_os = "linux")'.dependencies.dbus]
version = "0.9.12"
features = ["stdfd"]

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2.189"

[target.'cfg(target_os = "linux")'.dependencies.pipewire]
version = "0.10.1"

[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6.2"

[target.'cfg(target_os = "macos")'.dependencies.crossbeam-utils]
version = "0.8.23"

[target.'cfg(target_os = "macos")'.dependencies.dispatch2]
version = "0.3.1"

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.4"

[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3.2"

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-audio-types]
version = "0.3.2"

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-media]
version = "0.3.2"

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-video]
version = "0.3.2"

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.2"

[target.'cfg(target_os = "macos")'.dependencies.objc2-screen-capture-kit]
version = "0.3.2"
features = ["SCShareableContent"]

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62.2"
features = [
    "Win32_Foundation",
    "Foundation_Metadata",
    "Graphics_Capture",
    "Graphics_DirectX_Direct3D11",
    "Win32_Graphics_Direct3D",
    "Win32_Graphics_Direct3D11",
    "Win32_Graphics_Dxgi_Common",
    "Win32_Graphics_Gdi",
    "Win32_System_WinRT_Direct3D11",
    "Win32_System_WinRT_Graphics_Capture",
    "Win32_UI_WindowsAndMessaging",
    "Win32_System_Com",
    "Win32_UI_Shell",
    "Win32_System_Performance",
    "Win32_System_Threading",
    "Win32_Media_Audio",
    "Win32_Media_KernelStreaming",
    "Win32_Media_Multimedia",
    "Win32_System_Com_StructuredStorage",
    "Win32_System_Variant",
]