devalang_wasm/lib.rs
1#![allow(dead_code)]
2#![allow(clippy::module_inception)]
3
4pub mod engine;
5pub mod language;
6pub mod shared;
7
8// CLI-specific modules (requires terminal, file system, etc.)
9#[cfg(all(feature = "cli", not(target_arch = "wasm32")))]
10pub mod platform;
11
12#[cfg(all(feature = "cli", not(target_arch = "wasm32")))]
13pub mod services;
14
15#[cfg(all(feature = "cli", not(target_arch = "wasm32")))]
16pub mod tools;
17
18#[cfg(all(feature = "cli", not(target_arch = "wasm32")))]
19pub mod workspace;
20
21// WebAssembly bindings (only compiled for wasm32 target)
22#[cfg(target_arch = "wasm32")]
23pub mod web;