1mod module_build_context;
4mod module_builder;
5mod module_traits;
6
7pub use self::module_build_context::ModuleBuildContext;
8pub use self::module_builder::ModuleBuilder;
9pub use self::module_traits::{Module, ModuleInterface};
10
11#[cfg(not(feature = "thread_safe"))]
12type AnyType = dyn anymap2::any::Any;
13#[cfg(feature = "thread_safe")]
14type AnyType = dyn anymap2::any::Any + Send + Sync;
15
16#[cfg(not(feature = "thread_safe"))]
17type ParamAnyType = dyn anymap2::any::Any;
18#[cfg(feature = "thread_safe")]
19type ParamAnyType = dyn anymap2::any::Any + Send;
20
21type ComponentMap = anymap2::Map<AnyType>;
22type ParameterMap = anymap2::Map<ParamAnyType>;