Skip to main content

cardinal_gui/
lib.rs

1pub mod effects;
2use log::{error, info};
3
4#[cfg_attr(target_arch = "wasm32", path = "web.rs")]
5#[cfg_attr(not(target_arch = "wasm32"), path = "native.rs")]
6mod core_entry;
7
8/// Shared entry point for both binaries
9pub fn entry() -> anyhow::Result<()> {
10    let out = core_entry::run();
11    match &out {
12        Ok(()) => info!("core::run() completed successfully"),
13        Err(e) => error!("core::run() failed: {e:?}"),
14    };
15    out
16}
17pub mod stage;
18pub mod uxn;
19pub mod uxn_panel;
20
21pub mod cardinal_orcas_symbols;
22#[cfg(feature = "uses_e_midi")]
23pub mod e_midi;