Files
client/native/Cargo.toml
T
omar 57807c184e Integrate and verify the native Windows desktop client
- Update pinned Rust, Slint, DSP and WebRTC dependencies, preserving the local vendor patches and source receipts.
- Fix desktop audio scheduling and disconnect handling; include isolated duplex, identity, bookmark and notification checks.
- Record measured differences from TeamSpeak 6.0.0.5232; full visual and server-feature parity remain open.
2026-11-26 16:59:05 +03:00

102 lines
3.5 KiB
TOML

[package]
name = "teamspeach-native"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
publish.workspace = true
[lib]
name = "teamspeach_native"
crate-type = ["rlib", "cdylib"]
[[bin]]
name = "teamspeach"
path = "src/main.rs"
[features]
default = ["skia", "webrtc"]
skia = ["slint/renderer-skia"]
webrtc = ["dep:libwebrtc", "dep:webrtc-sys", "dep:cxx", "dep:tokio-stream"]
test-harness = []
[dependencies]
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
teamspeach-core = { path = "../core" }
tokio.workspace = true
i-slint-core = { version = "=1.19.1", default-features = false, features = ["std"] }
libwebrtc = { workspace = true, optional = true }
webrtc-sys = { workspace = true, optional = true }
cxx = { version = "1", optional = true }
tokio-stream = { version = "0.1", optional = true }
cssparser.workspace = true
cssparser-color = "=0.6.0"
semver = "1"
same-file = "1"
katex-native.workspace = true
katex-rs.workspace = true
mermaid-rs-renderer.workspace = true
usvg = { version = "=0.50.0", default-features = false, features = ["text"] }
unicode-segmentation = "=1.13.3"
base64 = "0.23"
sha2 = "0.11"
base16ct.workspace = true
serde_yaml_ng = "0.10"
uuid = { version = "1", features = ["v4"] }
tempfile = "3"
time = { version = "0.3", features = ["formatting", "local-offset"] }
reqwest = { version = "0.13", default-features = false, features = ["rustls", "json", "stream"] }
regex = "1"
roxmltree = "0.21"
futures = "0.3"
zeroize = "=1.9.2"
getrandom = "=0.4.3"
fs2 = "=0.4.3"
indexmap = { version = "2", features = ["serde"] }
image = { version = "=0.25.10", default-features = false, features = ["png", "jpeg", "gif", "webp"] }
teamspeach-denoise = { path = "../dsp" }
cpal.workspace = true
rubato.workspace = true
ringbuf = "=0.6.0"
hound = "=3.5.1"
audioadapter-buffers = "=5.2.0"
zip = { version = "=9.8.2", default-features = false, features = ["deflate"] }
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "=0.61.2", features = ["Win32_Foundation", "Win32_Security_Cryptography", "Win32_System_Threading", "Win32_System_Registry"] }
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
security-framework = { version = "=3.7.0", features = ["OSX_10_15"] }
[target.'cfg(target_os = "linux")'.dependencies]
cpal = { workspace = true, features = ["pipewire", "pulseaudio"] }
secret-service = { version = "=6.0.0", default-features = false, features = ["rt-default", "crypto-rust"] }
libwebrtc = { workspace = true, optional = true, features = ["glib-main-loop"] }
zbus = { version = "=6.5.0", features = ["tokio"] }
ksni = { version = "=0.3.7", features = ["blocking"] }
directories = "=6.0.0"
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
slint = { workspace = true, features = ["backend-winit", "renderer-software", "system-tray", "raw-window-handle-06", "unstable-winit-030"] }
cap-std = "=4.0.3"
cap-fs-ext = "=4.0.3"
rfd = "=0.18.0"
arboard = { version = "=3.7.0", default-features = false }
open = "=5.4.5"
[target.'cfg(target_os = "ios")'.dependencies]
slint = { workspace = true, features = ["backend-winit", "renderer-skia"] }
[target.'cfg(target_os = "android")'.dependencies]
slint = { workspace = true, features = ["backend-android-activity-06"] }
jni = "=0.21.1"
i-slint-backend-android-activity = { version = "=1.19.1", default-features = false, features = ["aa-06", "native-activity"] }
[build-dependencies]
slint-build.workspace = true
cc = "1"