Skip to main content

Crate camel_wit

Crate camel_wit 

Source
Expand description

Canonical WIT contracts for rust-camel WASM guests.

This crate publishes the camel:plugin WIT package as embedded strings (PLUGIN_WIT, BEAN_WIT, SOURCE_WIT, FULL_WIT) and includes the raw .wit files in the published crate package, so non-Rust guest authors can consume the contract with their own WIT toolchain. See the crate README for the multi-language guest quickstart. Package versioning follows ADR-0053 (camel:plugin@1.0.0).

Constantsยง

BEAN_WIT
WIT source for the bean world (standalone file, same package as PLUGIN_WIT).
FULL_WIT
Combined WIT package with both plugin and bean worlds in a single document.
PLUGIN_WIT
WIT source for the plugin world (standalone file).
SOURCE_WIT
WIT source for the source world (standalone file, same package as PLUGIN_WIT).