Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Libraries

Here’s every third-party crate in the house, and why it’s here. Versions live in Cargo.toml. Cargo.lock is committed too (this is an application, not a library), so builds are reproducible.

GUI

CrateRole
eframeApplication shell + windowing around egui.
eguiImmediate-mode GUI toolkit — all widgets and the painter.
winitLow-level windowing under eframe; used directly only to force XWayland via --x11 on Linux (main.rs).
egui_kittest (dev only)Headless UI tests: renders the settings page, clicks controls by AccessKit label (settings_page::tests). Never linked into the app.

Audio

CrateRole
cpalCross-platform audio I/O: the input (capture) and output (playback) streams and their callbacks.
houndWAV encode/decode for recorded samples (audio/sample.rs).
rustfftFFT for the spectrum visualizer (ui/visualizer.rs).
spectrogramsMFCC feature extraction for vowel detection (audio/vowel.rs); pure-Rust FFT backend.
non-empty-sliceNon-empty slice/nzu! types required by the spectrograms API.

Voice games (rondelek-game only)

CrateRole
raylibWindow, 3D renderer and input for the voice mini-games. Confined to the game crate on purpose — see Architecture.
serde_jsonReads the optional shader tuning files (RONDELEK_LAMPULA, RONDELEK_WATER). Already a dependency of core and app.

The game art comes from our own flat-draw pixel editor, as .glb files. The game embeds them and draws them itself, and two of its shaders (Lam::pula, plus the model vertex shader it needs) are copied from flat-draw verbatim. The full tour of models, shaders, tuning tables and the water is in Voice games.

Camera & images

CrateRole
nokhwaDesktop webcam capture for avatars (input-native).
imageDecode / resize / encode images — avatar processing and camera frames (jpeg, png, webp).
rfdNative file-open dialog for uploading an avatar.

Persistence & utilities

CrateRole
serde / serde_json(De)serialize profile.json, session.json, settings.json.
zipExtract uploaded skin .zip archives into the skins folder (ui/skin.rs).
dirsLocate the OS data and config directories.
uuid (v4)Stable IDs for profiles and sessions.
sys-localeDetect the system language on first run.
chrono (clock)Local time for the dates grown-ups see (sessions, voice calibration), in ui/when.rs. Stored times stay UTC Unix seconds.
anyhowErgonomic error handling (Result + Context) throughout.

If you add, remove or repurpose a dependency, please update this page in the same change (see Contributing). Future you will be grateful.