- Rewrite frame.rs to match Android 8-byte header format (Type/Reserved/Length/Timestamp) - Implement AdpClient with full handshake flow (connect → capability exchange → ready) - Implement mDNS device discovery via mdns-sd (_airdisplay._tcp) - Wire ADP + mDNS as Tauri commands (discover_devices, connect_adp) - Update module structure and remove unused dependencies
45 lines
998 B
TOML
45 lines
998 B
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"
|
|
|
|
# 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
|