From 4e270576ce06aed737b6d8bdb4c526e3663b03a0 Mon Sep 17 00:00:00 2001 From: selikhov Date: Sat, 3 Oct 2026 02:02:29 +0300 Subject: [PATCH] Restore the dev profile entries the studio branch dropped The studio's sources commit removed nine [profile.dev.package.*] entries (sonora's AEC, noise suppression and FFT crates, str0m-proto and its crypto provider, libspa, x11rb-protocol, wayland-backend). Nothing in the studio needs that, and those crates are on the audio and stream hot paths that 1182cd9 optimised in dev builds for a reason: unoptimised, they cost the debug client real CPU per 10 ms of audio. All nine are still in Cargo.lock, so the entries match. Co-Authored-By: Claude Opus 5.5 --- Cargo.toml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 8fdf6c8..d9debe8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,8 +69,16 @@ opt-level = 3 # every 10 ms of microphone audio; unoptimized it needs about a third of a core. [profile.dev.package.sonora] opt-level = 3 +[profile.dev.package.sonora-aec3] +opt-level = 3 [profile.dev.package.sonora-agc2] opt-level = 3 +[profile.dev.package.sonora-common-audio] +opt-level = 3 +[profile.dev.package.sonora-fft] +opt-level = 3 +[profile.dev.package.sonora-ns] +opt-level = 3 [profile.dev.package.sonora-simd] opt-level = 3 @@ -83,6 +91,10 @@ opt-level = 3 opt-level = 3 [profile.dev.package.str0m] opt-level = 3 +[profile.dev.package.str0m-proto] +opt-level = 3 +[profile.dev.package.str0m-aws-lc-rs] +opt-level = 3 [profile.dev.package.openh264] opt-level = 3 [profile.dev.package.dav1d] @@ -91,6 +103,12 @@ opt-level = 3 opt-level = 3 [profile.dev.package.pipewire] opt-level = 3 +[profile.dev.package.libspa] +opt-level = 3 +[profile.dev.package.x11rb-protocol] +opt-level = 3 +[profile.dev.package.wayland-backend] +opt-level = 3 [profile.dev.package.wayland-client] opt-level = 3