/bung

A serialization implementation for SurrealDB, based on MessagePack

Primary LanguageRustMIT LicenseMIT

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.

docs.rs Crates.io

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.