diff --git a/src/func/mod.rs b/src/func/mod.rs index ffeb578a..55c7964f 100644 --- a/src/func/mod.rs +++ b/src/func/mod.rs @@ -1,17 +1,21 @@ //! Module defining mechanisms to handle function calls in Rhai. +#[cfg(not(feature = "no_function"))] pub mod args; pub mod builtin; pub mod call; +#[cfg(not(feature = "no_function"))] pub mod func; pub mod hashing; pub mod native; pub mod plugin; pub mod register; +#[cfg(not(feature = "no_function"))] pub use args::FuncArgs; pub use builtin::{get_builtin_binary_op_fn, get_builtin_op_assignment_fn}; pub use call::FnCallArgs; +#[cfg(not(feature = "no_function"))] pub use func::Func; pub use hashing::{ calc_fn_hash, calc_fn_params_hash, calc_qualified_fn_hash, calc_qualified_var_hash,