visual-cortex-capture 0.9.0

Screen-capture abstraction for visual-cortex: frames, regions, rates, the FrameSource trait, and the macOS ScreenCaptureKit backend.
[package]
name = "visual-cortex-capture"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Screen-capture abstraction for visual-cortex: frames, regions, rates, the FrameSource trait, and the macOS ScreenCaptureKit backend."

[dependencies]
async-trait.workspace = true
thiserror.workspace = true

[target.'cfg(target_os = "macos")'.dependencies]
# Patched fork: cross-process window capture + panic-free start/stop.
# See https://github.com/benjamin-small/scap-vc and CapSoftware/scap#186.
scap = { package = "scap-vc", version = "=0.1.0" }

[dev-dependencies]
tokio = { workspace = true }

[package.metadata.docs.rs]
# Build docs on a macOS target so the ScreenCaptureKit-gated items
# (ScapSource) appear; keep a Linux target for cross-checking.
default-target = "x86_64-apple-darwin"
targets = ["x86_64-apple-darwin", "x86_64-unknown-linux-gnu"]