Extension framework for PVQ with declarative interfaces, metadata generation, execution, and permissions.
- Declarative extension traits and implementations via macros
- Generated dispatch and metadata for extensions
- Execution wrapper to run PVQ programs against your extensions
- Pluggable permission controller (allow‑all by default)
- Declare an extension trait and implement it for your runtime.
- Generate an
extensionsmodule (via the macros) and expose itsmetadata(). - Initialize
ExtensionsExecutorwith your generatedextensionsand an invocation source. - Optionally implement a custom
PermissionController.
- A portable type registry plus per‑extension function signatures (names, inputs, output). Useful to serve from your runtime’s
metadata().
cargo build -p pvq-extension