xcap 0.9.5

XCap is a cross-platform screen capture library written in Rust. It supports Linux (X11, Wayland), MacOS, Windows, and HarmonyOS (OpenHarmony/OHOS). XCap supports screenshot and video recording (WIP).
1
2
3
4
5
#[cfg(feature = "wgc")]
pub(crate) use super::wgc_video_recorder::ImplVideoRecorder;

#[cfg(not(feature = "wgc"))]
pub(crate) use super::dxgi_video_recorder::ImplVideoRecorder;