Files
wayvr/wlx-capture/Cargo.toml
2026-01-10 20:54:29 +09:00

52 lines
1.5 KiB
TOML

[package]
name = "wlx-capture"
version = "0.6.0"
edition = "2024"
authors = ["galister"]
description = "Screen capture library for Wayland and X11"
repository = "https://github.com/galister/wlx-capture"
keywords = ["desktop", "capture", "pipewire", "wayland", "x11"]
categories = ["computer-vision", "multimedia::images"]
documentation = "https://docs.rs/wlx-capture"
license = "GPL-3.0-only"
[features]
default = ["wayland", "pipewire"]
egl = []
wlr = ["wayland"]
pipewire = ["wayland", "dep:ashpd", "dep:pipewire"]
wayland = [
"dep:smithay-client-toolkit",
"dep:wayland-client",
"dep:wayland-protocols",
]
xshm = ["dep:rxscreen"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
ashpd = { version = "0.12.0", default-features = false, features = [
"async-std",
], optional = true }
drm-fourcc = "2.2.0"
idmap = { workspace = true }
libc = "0.2.178"
log = { workspace = true }
pipewire = { git = "https://gitlab.freedesktop.org/galister/pipewire-rs.git", rev = "ba32202c3c391004c3bb533b58fa75a50e47ff57", features = [
"v0_3_33",
], optional = true }
#pipewire = { version = "0.8.0", features = ["v0_3_33"], optional = true }
rxscreen = { version = "0.1.7", features = [
"shm",
"xrandr",
"mouse",
], optional = true }
smithay-client-toolkit = { version = "0.20.0", optional = true }
wayland-client = { workspace = true, optional = true }
wayland-protocols = { version = "0.32.9", features = [
"wayland-client",
"client",
"staging",
"unstable",
], optional = true }