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

macro fuel-derive

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

35 releases (22 breaking)

new 0.59.2 Feb 13, 2025
0.59.1 Dec 13, 2024
0.58.2 Oct 7, 2024
0.56.0 Jul 27, 2024
0.43.1 Nov 29, 2023

#31 in #fuel-vm

Download history 7380/week @ 2024-10-27 2464/week @ 2024-11-03 3981/week @ 2024-11-10 3542/week @ 2024-11-17 3834/week @ 2024-11-24 5324/week @ 2024-12-01 4552/week @ 2024-12-08 3730/week @ 2024-12-15 2084/week @ 2024-12-22 2878/week @ 2024-12-29 6622/week @ 2025-01-05 9328/week @ 2025-01-12 7897/week @ 2025-01-19 7959/week @ 2025-01-26 8075/week @ 2025-02-02 6880/week @ 2025-02-09

31,305 downloads per month
Used in 89 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

~280–740KB
~17K SLoC