Skip to main content

Module transform

Module transform 

Source
Expand description

Source-code transform plugin trait for the build pipeline. Plugins can rewrite file contents at compile time (e.g. macro expansion, code injection) and run in priority order alongside built-in transforms.

Structs§

TransformContext
Context provided to transform plugins (read-only view of build state).

Traits§

TransformPlugin
A plugin that hooks into the source-code transform pipeline.