extism-convert 0.1.0

Traits to make Rust types usable with Extism
Documentation

The extism-convert crate is used by the SDK and PDK to provide a shared interface for encoding and decoding values that can be passed to Extism function calls.

A set of types (Json, Msgpack) that can be used to specify a serde encoding are also provided. These are similar to axum extractors - they are implemented as a tuple struct with a single field that is meant to be extracted using pattern matching.