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

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

#2115 in Encoding

Download history 28/week @ 2023-12-17 10/week @ 2023-12-24 9/week @ 2024-01-07 9/week @ 2024-01-14 42/week @ 2024-01-21 19/week @ 2024-01-28 9/week @ 2024-02-04 23/week @ 2024-02-11 33/week @ 2024-02-18 45/week @ 2024-02-25 26/week @ 2024-03-03 38/week @ 2024-03-10 51/week @ 2024-03-17 30/week @ 2024-03-24 153/week @ 2024-03-31

278 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.8–2.4MB
~53K SLoC