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

macro fuel-derive

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

33 releases (breaking)

new 0.59.0 Dec 4, 2024
0.58.2 Oct 7, 2024
0.57.1 Sep 26, 2024
0.56.0 Jul 27, 2024
0.43.1 Nov 29, 2023

#30 in #fuel-vm

Download history 4555/week @ 2024-08-14 2907/week @ 2024-08-21 2983/week @ 2024-08-28 2995/week @ 2024-09-04 4177/week @ 2024-09-11 7263/week @ 2024-09-18 7621/week @ 2024-09-25 11698/week @ 2024-10-02 8074/week @ 2024-10-09 4734/week @ 2024-10-16 6705/week @ 2024-10-23 5006/week @ 2024-10-30 2939/week @ 2024-11-06 4089/week @ 2024-11-13 3524/week @ 2024-11-20 3306/week @ 2024-11-27

14,110 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

~305–770KB
~17K SLoC