blockly_rust_compiler/lib.rs
1// Blockly Rust Compiler Library
2// Provides Rust compilation checking for the Blockly visual editor
3
4pub mod blockly_bridge;
5pub mod rust_compiler;
6
7#[cfg(feature = "web-service")]
8pub mod compiler_service;
9
10// Re-export main types
11pub use rust_compiler::{
12 CompilationError, CompilationResult, ErrorLevel, RustCompiler,
13 is_cargo_available, is_rust_available,
14};
15
16#[cfg(feature = "web-service")]
17pub use compiler_service::{CheckRequest, CheckResponse, create_router, start_service};