Skip to content

Plugins

Compilers plugin in Cairo are a way to generate additional code for specific items during the compilation process.

There are already a set of core plugins that you may have already used, such as #[derive], #[cfg], #[generate_trait], etc.

It is possible to create your own plugins in rust. You can learn more about how to do that in the hello-cairo-plugin repository.