#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)

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 7533/week @ 2024-09-27 10073/week @ 2024-10-04 8137/week @ 2024-10-11 5544/week @ 2024-10-18 7429/week @ 2024-10-25 2741/week @ 2024-11-01 3909/week @ 2024-11-08 3391/week @ 2024-11-15 3587/week @ 2024-11-22 4861/week @ 2024-11-29 5118/week @ 2024-12-06 4274/week @ 2024-12-13 1460/week @ 2024-12-20 3507/week @ 2024-12-27 5504/week @ 2025-01-03 7529/week @ 2025-01-10

18,450 downloads per month
Used in 82 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

~275–730KB
~16K SLoC