#protobuf #buffer #protocols #serde #google #binary-encoding #binary-data

serde-protobuf

Support for Google Protocol Buffers in combination with serde

8 releases (5 breaking)

0.8.2 May 12, 2021
0.8.1 Feb 3, 2019
0.7.0 Oct 6, 2017
0.6.0 Jul 23, 2017
0.3.0 Sep 3, 2016

#94 in #binary-encoding

Download history 44/week @ 2024-06-18 50/week @ 2024-06-25 129/week @ 2024-07-02 73/week @ 2024-07-09 62/week @ 2024-07-16 77/week @ 2024-07-23 62/week @ 2024-07-30 43/week @ 2024-08-06 38/week @ 2024-08-13 24/week @ 2024-08-20 72/week @ 2024-08-27 141/week @ 2024-09-03 168/week @ 2024-09-10 106/week @ 2024-09-17 190/week @ 2024-09-24 129/week @ 2024-10-01

607 downloads per month
Used in 3 crates

Apache-2.0

115KB
1.5K SLoC

serde-protobuf crates.io badge docs.rs badge

Support for Google protocol buffers in combination with serde.

The crate is split up into several logical parts.

  • The descriptor module provides an API for managing dynamically loaded protocol buffer schemata.
  • The value module provides structs that can hold any raw protocol buffer decoded data (but the representation is heavily coupled with a schema).
  • The de module can be used to deserialize binary encoded protocol buffer messages given some schema descriptors.

Serialization is not yet implemented in this version.

Dependencies

~1.7–2.4MB
~51K SLoC