rill-handler-api 1.2.0-rc.2

Versioned WIT ABI and guest SDK for Rill runtime handlers.
Documentation

Versioned WIT ABI and guest SDK for Rill runtime handlers.

This crate ships the canonical WIT world definition (wit/rill-handler.wit) that every Rill handler must export.

Handler authors compile a Rust crate to wasm32-wasip1 using wit-bindgen to generate guest bindings from the WIT file, then wrap the core module into a Component Model component with wasm-tools component new.

This crate intentionally has no dependencies so that it can be consumed as a build-time WIT source without pulling in any runtime code. The constants below mirror the WIT declarations and are used by both the host and guest for compile-time version checks.