#fuel-vm #blockchain

macro fuel-derive

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

39 releases (23 breaking)

new 0.60.2 Apr 22, 2025
0.60.0 Feb 27, 2025
0.59.3 Apr 21, 2025
0.59.1 Dec 13, 2024
0.43.1 Nov 29, 2023

#31 in #fuel-vm

Download history 3800/week @ 2024-12-31 7176/week @ 2025-01-07 8101/week @ 2025-01-14 9176/week @ 2025-01-21 7993/week @ 2025-01-28 7241/week @ 2025-02-04 6740/week @ 2025-02-11 8888/week @ 2025-02-18 8910/week @ 2025-02-25 12270/week @ 2025-03-04 9707/week @ 2025-03-11 5739/week @ 2025-03-18 4556/week @ 2025-03-25 6967/week @ 2025-04-01 7935/week @ 2025-04-08 3922/week @ 2025-04-15

24,567 downloads per month
Used in 96 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.

Dependencies

~280–740KB
~17K SLoC