Skip to main content

Crate curie_plugin

Crate curie_plugin 

Source
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 Manifest on stdout.
  • curie-build: deserializes the Manifest from 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> manifest on stdout.
Outputs
Directories written by the plugin that curie-build adds to the source path.

Functions§

read_envelope
Read and parse the Envelope from stdin.