docs.rs failed to build xcap-0.5.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
xcap-0.4.1
XCap
English | 简体中文
XCap is a cross-platform screen capture library written in Rust. It supports Linux (X11, Wayland), MacOS, and Windows. XCap supports screenshot and video recording (WIP).
Features
- Cross-platform: Supports Linux (X11, Wayland), MacOS, and Windows.
- Supports multiple screenshot modes: Can take screenshots of the screen and windows.
- Supports video recording: Supports recording of the screen or window (WIP).
Implementation Status
Feature | Linux(X11) | Linux(Wayland) | MacOS | Windows(>=Windows 8.1) |
---|---|---|---|---|
Screen Capture | ✅ | ⛔ | ✅ | ✅ |
Window Capture | ✅ | ⛔ | ✅ | ✅ |
Screen Recording | ✅ | ⛔ | ✅ | ✅ |
Window Recording | 🛠️ | 🛠️ | 🛠️ | 🛠️ |
- ✅: Feature available
- ⛔: Feature available, but not fully supported in some special scenarios
- 🛠️: To be developed
Examples
- Screen Capture
use dir;
use Instant;
use Monitor;
- Screen Record
use ;
use Monitor;
- Window Capture
use dir;
use Instant;
use Window;
More examples in examples
Linux System Requirements
On Linux, you need to install libxcb
, libxrandr
, and dbus
.
Debian/Ubuntu:
Alpine:
ArchLinux:
License
This project is licensed under the Apache License. See the LICENSE file for details.