mirror of
https://github.com/VallierDev/uu-remote-linux.git
synced 2026-11-16 08:50:40 +01:00
82 lines
2.8 KiB
TOML
82 lines
2.8 KiB
TOML
[package]
|
|
name = "uu-remote-linux"
|
|
version = "0.2.35"
|
|
edition = "2021"
|
|
default-run = "uuremote-server"
|
|
authors = ["uu-remote-linux contributors"]
|
|
description = "Unofficial Linux host for NetEase UU Remote: control a Linux desktop from the official clients"
|
|
readme = "README.md"
|
|
license = "GPL-3.0-or-later"
|
|
repository = "https://github.com/VallierDev/uu-remote-linux"
|
|
|
|
# The executable keeps its established name (deploy scripts, systemd units, docs).
|
|
[[bin]]
|
|
name = "uuremote-server"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "uuremote-viewer"
|
|
path = "src/viewer_main.rs"
|
|
required-features = ["native-viewer"]
|
|
|
|
[features]
|
|
default = []
|
|
native-viewer = []
|
|
viewer-ffmpeg = ["native-viewer", "dep:ffmpeg-next"]
|
|
viewer-sdl = ["native-viewer", "dep:sdl2"]
|
|
wayland = []
|
|
# Experimental direct linear framebuffer capture; never enabled in release builds.
|
|
kms = []
|
|
portal = []
|
|
# Build the wayland/portal engines as runtime-loaded libuu-wayland.so / libuu-portal.so (release packages).
|
|
engine-plugins = []
|
|
# In-process X11 capture and NVENC encoding: vendored NVENC headers, NVIDIA driver libraries loaded at runtime.
|
|
# Other encoders keep the FFmpeg process pipeline. Off by default.
|
|
inproc-av = ["dep:x11rb"]
|
|
|
|
[dependencies]
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-tungstenite = { version = "0.23", features = ["rustls-tls-webpki-roots"] }
|
|
futures-util = "0.3"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "rustls-tls-native-roots"] }
|
|
hmac = "0.12"
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
base64 = "0.22"
|
|
flate2 = "1.0"
|
|
bytes = "1"
|
|
async-trait = "0.1"
|
|
rand = "0.8"
|
|
webrtc = "0.10"
|
|
libc = "0.2"
|
|
nix = { version = "0.29", features = ["term", "process", "fs", "ioctl", "signal"] }
|
|
log = "0.4"
|
|
qrcode = { version = "0.14", default-features = false }
|
|
env_logger = "0.11"
|
|
ffmpeg-next = { version = "6.1", optional = true, default-features = false, features = ["codec", "format", "device", "software-scaling", "software-resampling"] }
|
|
x11rb = { version = "0.13", features = ["damage", "shm", "allow-unsafe-code"], optional = true }
|
|
|
|
sdl2 = { version = "0.37", optional = true, features = ["use-pkgconfig"] }
|
|
|
|
[dev-dependencies]
|
|
# Synthetic loopback WSS certificates only; both crates already occur in Cargo.lock.
|
|
rcgen = "0.11.3"
|
|
tokio-rustls = { version = "0.26.6", default-features = false, features = ["ring", "tls12"] }
|
|
|
|
[build-dependencies]
|
|
cc = "1.0"
|
|
|
|
[patch.crates-io]
|
|
# RTP rollover counter survives delayed NACK retransmissions (vendor/webrtc-srtp/PATCHES.md).
|
|
webrtc-srtp = { path = "vendor/webrtc-srtp" }
|
|
webrtc-dtls = { path = "vendor/webrtc-dtls" }
|
|
# Larger data-channel receive buffer (see vendor/webrtc/src/data_channel/mod.rs).
|
|
webrtc = { path = "vendor/webrtc" }
|
|
|
|
[[bench]]
|
|
name = "nvenc_pipeline_bench"
|
|
harness = false
|
|
required-features = ["inproc-av"]
|