1 unstable release
| 0.1.0 | Mar 31, 2023 |
|---|
#2587 in Encoding
6,039 downloads per month
89KB
2.5K
SLoC
bung
The bung library is a custom MessagePack based serialization implementation for SurrealDB, based originally on the Rust MessagePack library. It enables enums and structs to be serialized using a number of different configurations, including named struct serialization, and either named or index-based compact enum serialization.
Features
- Clear error handling
- Zero-copy value deserialization
- Simple serialization configuration
- Named struct serialization configuration
- Name or integer based compact enum serialization configuration
Original
This code is based on and forked originally from rmp-serde, licensed under the and MIT licenses.
Dependencies
~0.4–0.8MB
~16K SLoC