docs.rs failed to build lamco-wayland-0.2.5
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.
Lamco Wayland Libraries
Rust libraries for Wayland screen capture, XDG Portal integration, and video processing.
Crates
| Crate | Version | Description |
|---|---|---|
| lamco-wayland | Meta-crate with all libraries | |
| lamco-portal | XDG Desktop Portal integration | |
| lamco-pipewire | PipeWire screen capture | |
| lamco-video | Video processing & RDP bitmap conversion |
Quick Start
[]
# Use everything
= "0.1"
# Or select what you need
= { = "0.1", = false, = ["portal"] }
use *;
async
Features
| Feature | Default | Description |
|---|---|---|
portal |
Yes | XDG Desktop Portal integration |
pipewire |
Yes | PipeWire screen capture |
video |
Yes | Video frame processing |
full |
No | All features from all sub-crates |
Use Cases
- RDP servers - Lamco RDP Server, custom implementations
- VNC servers - Wayland support for VNC
- Screen recording tools - Capture Wayland displays
- Video conferencing - Screen sharing applications
- Computer vision - Process Wayland screen content
- Accessibility tools - Screen readers, automation
Requirements
- Wayland compositor - GNOME, KDE Plasma, Sway, etc.
- xdg-desktop-portal - Desktop Portal implementation
- PipeWire - For video streaming (lamco-pipewire only)
Not compatible with X11 - Wayland only.
Architecture
┌─────────────────────────────────────────────────────────────────┐
│ lamco-wayland │
├─────────────────┬─────────────────────┬─────────────────────────┤
│ lamco-portal │ lamco-pipewire │ lamco-video │
│ │ │ │
│ PortalManager │ PipeWireManager │ BitmapConverter │
│ SessionHandle │ VideoFrame │ FrameProcessor │
│ PortalConfig │ PipeWireConfig │ FrameDispatcher │
└────────┬────────┴──────────┬──────────┴────────────┬────────────┘
│ │ │
▼ ▼ ▼
XDG Desktop Portal PipeWire API RDP Bitmap Format
Platform Support
| Compositor | Status | Backend |
|---|---|---|
| GNOME | ✅ Tested | xdg-desktop-portal-gnome |
| KDE Plasma | ✅ Tested | xdg-desktop-portal-kde |
| Sway / wlroots | ✅ Tested | xdg-desktop-portal-wlr |
| Hyprland | ⚠️ Should work | xdg-desktop-portal-hyprland |
| Other Wayland | ⚠️ May work | Depends on portal backend |
| X11 | ❌ Not supported | Wayland only |
Development
# Clone repository
# Build all crates
# Run tests
# Build documentation
About
These libraries are extracted from the Lamco RDP Server project but designed for general use. They work with any Wayland compositor and are not RDP-specific.
Built with production-tested code from real-world remote desktop deployment.
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.