Skip to main content

Module engine

Module engine 

Source
Expand description

Typed package composition for native and community generators.

Contracts are package-local, immutable once published, and looked up by Rust type. Language implementations own package settings and shared state.

Structs§

Common
Optional shared settings. Unset values remain unset until a plugin applies its defaults; false/flat/empty explicit values are never treated as absent.
Emitter
Package-relative emitter. Ownership is retained for collision diagnostics.
FinalizeContext
Handle
Inputs
InstanceId
Process-local identity. Never used in paths, output bytes, or ordering.
Meta
Metadata belongs to an instance, not to a generator kind. Not Clone: construct another plugin to obtain a new identity.
NativeGeneration
NativeSkip
An incompatible native package is skipped without running its input provider.
Package
Packages
PluginContext
Provision
Requirement

Enums§

Enforce
Shorthand for selecting a plugin execution phase.
PluginPhase
A plugin’s point in the package generation lifecycle.

Traits§

Contract
Language
Plugin