#fuel-vm #blockchain

macro fuel-derive

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

41 releases (24 breaking)

Uses new Rust 2024

new 0.61.1 May 7, 2025
0.60.2 Apr 22, 2025
0.60.0 Feb 27, 2025
0.59.1 Dec 13, 2024
0.43.1 Nov 29, 2023

#31 in #fuel-vm

Download history 7776/week @ 2025-01-15 9567/week @ 2025-01-22 7921/week @ 2025-01-29 7190/week @ 2025-02-05 6298/week @ 2025-02-12 9271/week @ 2025-02-19 10116/week @ 2025-02-26 12253/week @ 2025-03-05 8181/week @ 2025-03-12 5570/week @ 2025-03-19 3992/week @ 2025-03-26 7595/week @ 2025-04-02 7463/week @ 2025-04-09 6251/week @ 2025-04-16 8184/week @ 2025-04-23 5842/week @ 2025-04-30

28,930 downloads per month
Used in 96 crates (2 directly)

BUSL-1.1

38KB
902 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.

Dependencies

~265–710KB
~16K SLoC