Skip to main content

gled_core/
lib.rs

1//! gled without a user interface: the engine that owns the running show, and
2//! everything it drives. Inputs (keys from clients, gamepads, Art-Net, OSC,
3//! MIDI, audio), Ableton Link timing, the render thread and the Art-Net/DMX
4//! output, the asset repository, and the patch's lamp layout. The desktop app
5//! runs it in-process; `gled-server` runs it headless.
6
7#![forbid(unsafe_code)]
8#![forbid(clippy::unwrap_used)]
9#![recursion_limit = "256"]
10
11pub(crate) mod action;
12pub(crate) mod audio;
13pub mod engine;
14pub mod gpu_choice;
15pub(crate) mod host_temperature;
16pub(crate) mod input;
17pub(crate) mod network_stats;
18pub(crate) mod output_state;
19pub mod paths;
20pub(crate) mod pipeline;
21pub mod runtime;
22pub mod start;
23pub(crate) mod storage;
24
25/// OSC messages for tests, at least one per address.
26#[cfg(any(test, feature = "test-util"))]
27pub use input::osc::samples::sample_messages as osc_sample_messages;