devalang_wasm/
lib.rs

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