// The too many arguments is annoying, especially for when we create constructors, disable. #![allow(clippy::too_many_arguments, clippy::needless_range_loop)] #![feature(test)] #![feature(bench_black_box)] #![feature(let_chains)] #[cfg(feature = "c_interface")] #[macro_use] extern crate lazy_static; use crate::dynamic_data::libraries::script_resolver::ScriptCategory; mod c_interface; pub mod defines; pub mod dynamic_data; pub mod static_data; pub mod utils; #[derive(Debug, Clone)] pub enum PokemonError { ScriptNotFound { category: ScriptCategory, name: String, }, MiscError, } pub type PkmnResult = std::result::Result;