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

macro fuel-derive

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

34 releases (22 breaking)

new 0.59.1 Dec 13, 2024
0.58.2 Oct 7, 2024
0.56.0 Jul 27, 2024
0.48.0 Mar 28, 2024
0.43.1 Nov 29, 2023

#29 in #fuel-vm

Download history 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 2475/week @ 2024-11-02 4165/week @ 2024-11-09 3183/week @ 2024-11-16 3925/week @ 2024-11-23 5410/week @ 2024-11-30 3796/week @ 2024-12-07

16,914 downloads per month
Used in 80 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