#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 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 4421/week @ 2024-11-27 5182/week @ 2024-12-04 4698/week @ 2024-12-11 2271/week @ 2024-12-18 2412/week @ 2024-12-25 4637/week @ 2025-01-01 7741/week @ 2025-01-08 7776/week @ 2025-01-15

22,794 downloads per month
Used in 83 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–730KB
~16K SLoC