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

macro nfs3_macros

A Rust library providing a derive macro for XDR codec implementation

5 unstable releases

Uses new Rust 2024

new 0.3.2 Apr 14, 2025
0.3.1 Mar 23, 2025
0.3.0 Mar 2, 2025
0.2.0 Feb 22, 2025
0.1.0 Feb 9, 2025

#1455 in Procedural macros

Download history 114/week @ 2025-02-08 25/week @ 2025-02-15 153/week @ 2025-02-22 169/week @ 2025-03-01 13/week @ 2025-03-08 10/week @ 2025-03-15 129/week @ 2025-03-22 15/week @ 2025-03-29 9/week @ 2025-04-05

163 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–650KB
~15K SLoC