Files
airdisplay-desktop/src-tauri/Cargo.toml

48 lines
1.0 KiB
TOML

[package]
name = "airdisplay-client"
version = "0.1.0"
description = "AirDisplay desktop client - screen mirroring to Android"
authors = ["yuqianhe"]
edition = "2021"
[lib]
name = "airdisplay_client_lib"
crate-type = ["lib", "cdylib", "staticlib"]
[[bin]]
name = "airdisplay-client"
path = "src/main.rs"
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = [] }
tauri-plugin-shell = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.3"
anyhow = "1"
thiserror = "1"
# ADP protocol
bytes = "1"
# mDNS discovery
mdns-sd = "0.12"
# Video encoding (software fallback)
ffmpeg-next = "7.0"
# Screen capture (platform specific)
[target.'cfg(target_os = "windows")'.dependencies]
captrs = "0.3"
[target.'cfg(target_os = "macos")'.dependencies]
core-graphics = "0.24"
[target.'cfg(target_os = "linux")'.dependencies]
# PipeWire for Wayland, x11 for X11