1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#![recursion_limit = "256"]

pub mod ast;
pub(crate) mod compiler;
pub(crate) mod generator;
pub(crate) mod parser;
pub(crate) mod utils;

#[cfg(feature = "compiler-plugin")]
pub mod ir;

pub use compiler::Compiler;
pub use generator::Language;
pub use parser::Parser;

#[cfg(feature = "compiler-plugin")]
pub use ir::Format as IntermediateFormat;

pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub const C_API_VERSION_MIN: &str = "0.7.0";