cairo_lang_plugins/
lib.rsuse std::sync::Arc;
use cairo_lang_defs::plugin::MacroPlugin;
use plugins::ExternalAttributesValidationPlugin;
use crate::plugins::{
CompileErrorPlugin, ConfigPlugin, DerivePlugin, GenerateTraitPlugin, PanicablePlugin,
};
pub mod plugins;
#[cfg(any(feature = "testing", test))]
pub mod test_utils;
#[cfg(test)]
mod test;
pub fn get_base_plugins() -> Vec<Arc<dyn MacroPlugin>> {
vec![
Arc::new(ConfigPlugin::default()),
Arc::new(DerivePlugin::default()),
Arc::new(GenerateTraitPlugin::default()),
Arc::new(PanicablePlugin::default()),
Arc::new(CompileErrorPlugin::default()),
Arc::new(ExternalAttributesValidationPlugin::default()),
]
}