extism-convert

Crates.ioextism-convert
lib.rsextism-convert
version1.9.1
sourcesrc
created_at2023-10-04 19:38:43.077343
updated_at2024-11-26 18:21:13.630113
descriptionTraits to make Rust types usable with Extism
homepagehttps://extism.org
repositoryhttps://github.com/extism/extism
max_upload_size
id992984
size22,416
(extism-bot)

documentation

README

extism-convert

The extism-convert crate is used by the Rust SDK and Rust 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, Protobuf) 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.

Documentation

See extism-convert on docs.rs for in-depth documentation.

Commit count: 649

cargo fmt