molecule_codegen/lib.rs
1#![recursion_limit = "256"]
2
3pub mod ast;
4pub(crate) mod compiler;
5pub(crate) mod generator;
6pub(crate) mod parser;
7pub(crate) mod utils;
8
9#[cfg(feature = "compiler-plugin")]
10pub mod ir;
11
12pub use compiler::Compiler;
13pub use generator::Language;
14pub use parser::Parser;
15
16#[cfg(feature = "compiler-plugin")]
17pub use ir::Format as IntermediateFormat;
18
19pub const VERSION: &str = env!("CARGO_PKG_VERSION");
20pub const C_API_VERSION_MIN: &str = "0.7.0";