# 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

- Engine: [github.com/williamweatherholtz/MAAT](https://github.com/williamweatherholtz/MAAT)

## License

Dual MIT or Apache-2.0.
