VNOX-Server/.cargo/config.toml
loki5512344 e751e0bf5b Initial commit: split VNOX monorepo into VNOX-Server
Unified server binary (vnox-serverd) combining:
- Gateway (TCP, auth, channels, sessions, SQLite)
- Voice-node (UDP relay, Opus, jitter buffer)

Standalone gateway (vnox-gateway) and voice-node (vnox-voice-node) preserved as sub-crates.
2026-07-09 11:52:56 +02:00

29 lines
895 B
TOML

[env]
# audiopus_sys builds opus from source via CMake.
# CMake 4.x removed compatibility with cmake_minimum_required < 3.5.
# This flag tells CMake to accept the old policy version.
CMAKE_POLICY_VERSION_MINIMUM = "3.5"
# Cap linker+rustc memory pressure so builds don't OOM-kill the host.
RUST_MIN_STACK = "8388608"
[build]
# Limit parallelism so GPUI's giant dep tree doesn't saturate all cores.
# 4 jobs is a safe-ish ceiling for a 15GB / 24-thread box.
jobs = 6
[profile.dev]
# Less debug info = less RAM per codegen unit, faster cold builds.
debug = 1
# More codegen units = smaller per-unit memory footprint.
codegen-units = 16
# Don't keep intermediate artifacts for every dep.
split-debuginfo = "unpacked"
[profile.dev.package."*"]
# Deps don't need debuginfo at all → big savings on big trees like GPUI.
debug = 0
codegen-units = 16
[profile.release]
debug = 0
codegen-units = 16