VNOX-Client/Cargo.toml
loki5512344 3200fc7b66
Some checks failed
release / build (push) Failing after 1s
release / publish (push) Has been skipped
chore(client): release 0.2.0
2026-11-01 17:07:21 +01:00

104 lines
3.8 KiB
TOML

[workspace]
resolver = "2"
exclude = ["patches/*"]
[package]
name = "vnox-client"
description = "VNOX native desktop client - Slint, chat and voice"
version = "0.2.0"
edition = "2024"
license = "GPL-3.0"
authors = ["VNOX Contributors"]
repository = "https://git.wihuk.pro/boba/VNOX-Client.git"
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]
prost-build = "0.14"
slint-build = "=1.18.1"
# Compatible compiler utility before its unused bincode integration was added.
typed-index-collections = "=3.2.3"
[dependencies]
prost = "0.14"
reqwest = { version = "0.13.5", default-features = false, features = ["rustls", "json"] }
tokio-rustls = "0.26"
rustls = "0.23"
webpki-roots = "1"
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"
flate2 = "1"
tar = "0.4"
semver = "1"
base64 = "0.23"
zip = { version = "8", default-features = false, features = ["deflate"] }
uuid = { version = "1", features = ["v4"] }
argon2 = "0.6"
opus = "0.4"
cpal = "0.18"
chrono = { version = "0.4.45", default-features = false, features = ["clock"] }
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 }
image = { version = "0.25.10", default-features = false, features = ["png", "jpeg", "webp", "gif"] }
arboard = { version = "3.7", features = ["wayland-data-control"] }
rfd = { version = "0.17.2", default-features = false, features = ["xdg-portal", "wayland"] }
[dev-dependencies]
# Test gateway certificates, and a TLS 1.2 only server for the downgrade test.
rcgen = "0.14"
tempfile = "3"
rustls = { version = "0.23", features = ["tls12"] }
[features]
default = ["screen-capture", "rnnoise"]
rnnoise = ["dep:nnnoiseless"]
screen-capture = ["dep:zbus", "dep:gstreamer", "dep:gstreamer-app", "dep:gstreamer-video", "dep:gstreamer-webrtc", "dep:gstreamer-sdp"]
[target.'cfg(target_os = "linux")'.dependencies]
cpal = { version = "0.18", features = ["pulseaudio"] }
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 }
gstreamer-webrtc = { version = "0.25.4", optional = true }
gstreamer-sdp = { version = "0.25.3", 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" }
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" }