visual-cortex-capture 0.3.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]
scap = "0.0.8"

[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"]