20 stable releases
| 1.13.0 | Nov 25, 2025 |
|---|---|
| 1.12.0 | Jul 14, 2025 |
| 1.11.1 | May 29, 2025 |
| 1.10.0 | Feb 10, 2025 |
| 0.2.0 | Oct 4, 2023 |
#228 in Encoding
11,062 downloads per month
Used in 40 crates
(4 directly)
24KB
468 lines
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) 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.
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.
Dependencies
~3.5–5.5MB
~113K SLoC