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

#195 in Encoding

Download history 3480/week @ 2024-12-14 1333/week @ 2024-12-21 1992/week @ 2024-12-28 3117/week @ 2025-01-04 3249/week @ 2025-01-11 5000/week @ 2025-01-18 2572/week @ 2025-01-25 3158/week @ 2025-02-01 4507/week @ 2025-02-08 2567/week @ 2025-02-15 3172/week @ 2025-02-22 2149/week @ 2025-03-01 2321/week @ 2025-03-08 2190/week @ 2025-03-15 1679/week @ 2025-03-22 1345/week @ 2025-03-29

7,880 downloads per month
Used in 28 crates (3 directly)

BSD-3-Clause

23KB
445 lines

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