Expand description
Shared manifest types and helpers for Curie plugins.
Both sides of the plugin protocol use these types:
- Plugin binary: constructs and serializes a
Manifeston stdout. - curie-build: deserializes the
Manifestfrom the plugin’s stdout.
Plugins also receive a typed Envelope on stdin; use read_envelope
to parse it.
Structs§
- Artifact
- A Maven artifact the plugin needs curie-build to download.
- Envelope
- Envelope sent by curie-build to the plugin on stdin.
- Inputs
- Source files that trigger re-generation when they change.
- Manifest
- Top-level manifest returned by
curie-<name> manifeston stdout. - Outputs
- Directories written by the plugin that curie-build adds to the source path.
Functions§
- read_
envelope - Read and parse the
Envelopefrom stdin.