visual-cortex-capture 0.1.0

Screen-capture abstraction for visual-cortex: frames, regions, rates, the FrameSource trait, and the macOS ScreenCaptureKit backend.
Documentation
//! Screen capture abstraction: frames, regions, rates, and the `FrameSource` trait.

mod error;
mod fake;
mod frame;
mod rate;
mod region;
mod source;
mod target;

#[cfg(target_os = "macos")]
mod scap_source;
#[cfg(target_os = "macos")]
pub use scap_source::ScapSource;

pub use error::CaptureError;
pub use fake::FakeSource;
pub use frame::{Frame, FrameView};
pub use rate::Rate;
pub use region::{PxRect, Region};
pub use source::FrameSource;
pub use target::Target;