#fuel-vm #blockchain #deserialize #macro-derive #vm

macro fuel-derive

FuelVM (de)serialization and compression derive macros for fuel-vm data structures

32 releases (21 breaking)

0.58.2 Oct 7, 2024
0.57.1 Sep 26, 2024
0.56.0 Jul 27, 2024
0.48.0 Mar 28, 2024
0.43.1 Nov 29, 2023

#28 in #fuel-vm

Download history 2289/week @ 2024-07-20 2966/week @ 2024-07-27 2092/week @ 2024-08-03 2628/week @ 2024-08-10 3623/week @ 2024-08-17 3715/week @ 2024-08-24 2614/week @ 2024-08-31 3052/week @ 2024-09-07 7295/week @ 2024-09-14 6877/week @ 2024-09-21 7871/week @ 2024-09-28 10277/week @ 2024-10-05 7107/week @ 2024-10-12 5724/week @ 2024-10-19 7339/week @ 2024-10-26 2454/week @ 2024-11-02

24,174 downloads per month
Used in 79 crates (2 directly)

BUSL-1.1

38KB
901 lines

Fuel VM custom serialization derive macros

build crates.io docs discord

This crate contains derive macros for canonical serialization and deserialization. This is used with fuel-types/src/canonical.rs module which contains the associated traits and their implementations for native Rust types. It also contains compression macros exported by fuel-compression.


lib.rs:

Derive macros for canonical type serialization and deserialization.

Dependencies

~295–760KB
~17K SLoC