feat(client): add RU/EN localization and native capture preview

This commit is contained in:
Loki 2026-10-24 15:04:50 +02:00
parent 8e5ab56611
commit 8460fb28fd
Signed by: boba
GPG key ID: 253067914055423B
43 changed files with 4103 additions and 275 deletions

View file

@ -50,6 +50,7 @@ argon2 = "0.6"
opus = "0.4"
cpal = "0.18"
dirs = "7"
sys-locale = "0.3"
slint = { version = "=1.18.1", default-features = false, features = ["std", "backend-winit", "renderer-femtovg", "renderer-software", "accessibility", "compat-1-18"] }
nnnoiseless = { version = "0.5.2", default-features = false, optional = true }
@ -57,9 +58,17 @@ image = { version = "0.25.10", default-features = false, features =
rfd = { version = "0.17.2", default-features = false, features = ["xdg-portal", "wayland"] }
[features]
default = []
default = ["screen-capture"]
rnnoise = ["dep:nnnoiseless"]
screen-capture = ["dep:zbus", "dep:gstreamer", "dep:gstreamer-app", "dep:gstreamer-video"]
[target.'cfg(target_os = "linux")'.dependencies]
zbus = { version = "6.1", optional = true }
gstreamer = { version = "0.25.2", optional = true }
gstreamer-app = { version = "0.25.2", optional = true }
gstreamer-video = { version = "0.25.2", optional = true }
# Compatibility backports to maintained zbus 6; see patches/README.md.
[patch.crates-io]
i-slint-backend-winit = { path = "patches/i-slint-backend-winit" }