#xdr #nfs3 #rfc-1014 #nfs3-macros

macro nfs3_macros

A Rust library providing a derive macro for XDR codec implementation

6 releases

Uses new Rust 2024

new 0.3.3 Apr 27, 2025
0.3.2 Apr 14, 2025
0.3.1 Mar 23, 2025
0.2.0 Feb 22, 2025
0.1.0 Feb 9, 2025

#1455 in Procedural macros

Download history 99/week @ 2025-02-05 35/week @ 2025-02-12 149/week @ 2025-02-19 165/week @ 2025-02-26 24/week @ 2025-03-05 9/week @ 2025-03-12 122/week @ 2025-03-19 22/week @ 2025-03-26 11/week @ 2025-04-02 116/week @ 2025-04-09 69/week @ 2025-04-16

229 downloads per month
Used in 3 crates (via nfs3_types)

Unlicense

13KB
195 lines

nfs3_macros

nfs3_macros is a Rust library that provides XdrCodec derive macro for the nfs3_types crate. XdrCodec macro automatically implements Pack and Unpack traits for structs and enums, simplifying serialization and deserialization of XDR encoded data.

Features

  • Automatically implements Pack and Unpack traits for structs and enums.
  • Supports named, unnamed, and unit structs.
  • Supports unit-only enums.

Dependencies

~210–640KB
~15K SLoC