VNOX-Client/Cargo.toml
loki5512344 03d94e0465
Phase 2: E2EE for DM + Slint migration + dead code cleanup
- E2EE crypto (src/e2ee.rs) with X25519 key derivation from Ed25519,
  HKDF shared secret, ChaCha20-Poly1305 encrypt/decrypt
- E2EE net layer: PID 0x0071-0x0074, JSON payloads, dispatch, session handlers
- E2EE UI: lock icons in DM header and sidebar
- Slint migration: all .slint files, bridge.rs, update.rs, main.rs
- Removed egui UI (~50 files), cleaned all dead code
- Clean cargo clippy -- -D warnings
2026-07-14 13:25:15 +02:00

56 lines
1.5 KiB
TOML

[workspace]
resolver = "2"
[package]
name = "vnox-client"
description = "VNOX desktop client — egui + wgpu"
version = "0.1.0"
edition = "2024"
license = "GPL-3.0"
authors = ["VNOX Contributors"]
repository = "https://github.com/loki5512344/Vnox"
rust-version = "1.85"
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"
[dependencies]
tokio = { version = "1.52", features = ["full"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_bytes = "0.11"
ed25519-dalek = { version = "2", features = ["rand_core"] }
x25519-dalek = { version = "2", features = ["static_secrets"] }
chacha20poly1305 = "0.10"
hkdf = "0.13"
sha2 = "0.11"
rand = "0.8"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
anyhow = "1"
hex = "0.4"
uuid = { version = "1", features = ["v4"] }
argon2 = "0.5"
opus = "0.3"
cpal = "0.18"
rodio = "0.22"
dirs = "6"
slint = { version = "1", features = ["backend-winit", "compat-1-2"] }
nnnoiseless = { version = "0.5.2", default-features = false, optional = true }
[features]
default = []
rnnoise = ["dep:nnnoiseless"]