VNOX-Client/Cargo.toml
loki5512344 8e5ab56611
feat(client): redesign native UI, themes, settings and avatars
Separate conversation drafts and voice view state, add native settings and restricted CSS themes, implement validated avatar cropping, and refresh dependencies with documented desktop compatibility backports.
2026-10-24 14:23:48 +02:00

73 lines
2.5 KiB
TOML

[workspace]
resolver = "2"
exclude = ["patches/*"]
[package]
name = "vnox-client"
description = "VNOX native desktop client — Slint, chat and voice"
version = "0.1.0"
edition = "2024"
license = "GPL-3.0"
authors = ["VNOX Contributors"]
repository = "https://github.com/loki5512344/Vnox"
rust-version = "1.94"
default-run = "vnox-client"
[lib]
name = "vnox_client"
path = "src/lib.rs"
[[bin]]
name = "vnox-client"
path = "src/main.rs"
[[bin]]
name = "vnox-e2e-voice"
path = "src/bin/e2e_voice.rs"
[build-dependencies]
slint-build = "=1.18.1"
# Compatible compiler utility before its unused bincode integration was added.
typed-index-collections = "=3.2.3"
[dependencies]
tokio = { version = "1.54", features = ["full"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_bytes = "0.11"
ed25519-dalek = { version = "3", features = ["rand_core"] }
x25519-dalek = { version = "3", features = ["static_secrets"] }
chacha20poly1305 = "0.11"
hkdf = "0.13"
sha2 = "0.11"
rand = "0.10"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
anyhow = "1"
hex = "0.4"
uuid = { version = "1", features = ["v4"] }
argon2 = "0.6"
opus = "0.4"
cpal = "0.18"
dirs = "7"
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 }
image = { version = "0.25.10", default-features = false, features = ["png", "jpeg", "webp"] }
rfd = { version = "0.17.2", default-features = false, features = ["xdg-portal", "wayland"] }
[features]
default = []
rnnoise = ["dep:nnnoiseless"]
# Compatibility backports to maintained zbus 6; see patches/README.md.
[patch.crates-io]
i-slint-backend-winit = { path = "patches/i-slint-backend-winit" }
accesskit_unix = { path = "patches/accesskit_unix" }
accesskit_atspi_common = { path = "patches/accesskit_atspi_common" }
atspi = { path = "patches/atspi" }
atspi-common = { path = "patches/atspi-common" }
atspi-proxies = { path = "patches/atspi-proxies" }
zbus-lockstep = { path = "patches/zbus-lockstep" }
zbus-lockstep-macros = { path = "patches/zbus-lockstep-macros" }
sctk-adwaita = { path = "patches/sctk-adwaita" }