#reflection #serialization #metadata #deserialize #transcoder #serde #run-time

deprecated refloctopus

Speedy reflection-based serde transcoder

2 releases

0.0.1 Jan 10, 2021
0.0.0-squat Jan 6, 2021

#10 in #transcoder

33 downloads per month

MIT/Apache

52KB
1K SLoC

Runtime reflection of Rust values.

serde_derive is infamous for the sheer amount of code its liberal use can introduce to a workspace. refloctopus tries to combat that: avoid deriving Serialize and Deserialize for most of your types, instead deriveing Reflect. The reflection metadata for each type is reasonably small. Using the reflection metadata, a single Serialize/Deserialize implementation can marshall any Rust type.

Dependencies

~290–630KB
~10K SLoC