maat-plugin-build 0.18.4

Build-script helper for maat plugins — emits a stable content_hash from a plugin crate's source.
Documentation

maat-plugin-build

Build-script helpers for MAAT plugin crates.

Plugin authors add this as a [build-dependencies] entry and call its helpers from build.rs to:

  • Compute the plugin's content hash (Blake3 over the manifest + source tree) at compile time, embed as a const.
  • Generate the linkme registration glue for #[derive(EntityType)] and #[handlers] blocks across the crate.
  • Verify the canonical_id in the manifest matches the Cargo-package shape (catches typos before publish).

Used by every published MAAT plugin; ships separately from the runtime SDK to keep proc-macro and build-time concerns isolated.

Status

Pre-1.0. Stable across patch releases.

Links

License

Dual MIT or Apache-2.0.