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 midi;
18pub(crate) mod network_stats;
19pub(crate) mod output_state;
20pub mod paths;
21pub(crate) mod pipeline;
22pub mod runtime;
23pub mod start;
24pub(crate) mod storage;
25
26/// OSC messages for tests, at least one per address.
27#[cfg(any(test, feature = "test-util"))]
28pub use input::osc::samples::sample_messages as osc_sample_messages;