3 releases (breaking)
new 0.3.0 | Mar 2, 2025 |
---|---|
0.2.0 | Feb 22, 2025 |
0.1.0 | Feb 9, 2025 |
#1098 in Procedural macros
448 downloads per month
Used in 3 crates
(via nfs3_types)
12KB
194 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
andUnpack
traits for structs and enums. - Supports named, unnamed, and unit structs.
- Supports unit-only enums.
Dependencies
~210–650KB
~15K SLoC