21 releases (stable)

1.10.0 Feb 10, 2025
1.9.1 Nov 26, 2024
1.8.0 Oct 22, 2024
1.5.0 Jul 23, 2024
0.2.0 Oct 4, 2023

#198 in Encoding

Download history 1583/week @ 2024-12-24 1878/week @ 2024-12-31 3280/week @ 2025-01-07 3501/week @ 2025-01-14 5260/week @ 2025-01-21 1957/week @ 2025-01-28 3791/week @ 2025-02-04 4201/week @ 2025-02-11 2573/week @ 2025-02-18 2806/week @ 2025-02-25 2007/week @ 2025-03-04 2479/week @ 2025-03-11 2179/week @ 2025-03-18 1511/week @ 2025-03-25 1629/week @ 2025-04-01 1336/week @ 2025-04-08

7,047 downloads per month
Used in 29 crates (3 directly)

BSD-3-Clause

23KB
445 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–5MB
~105K SLoC