1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#![feature(backtrace)] #[macro_use] extern crate pest_derive; #[macro_use] extern crate lazy_static; #[macro_use] extern crate strum_macros; use crate::error::ParserError; #[macro_use] pub mod macros; pub mod ast; pub mod error; pub mod parser; type ParserResult<T> = std::result::Result<T, ParserError>; #[derive(Display, Debug)] pub enum QueryType { Fiql, Rsql, }