#buffer #protocols #serde #protobuf #serialization #google

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

#2297 in Encoding

Download history 38/week @ 2024-03-11 50/week @ 2024-03-18 27/week @ 2024-03-25 104/week @ 2024-04-01 27/week @ 2024-04-08 38/week @ 2024-04-15 52/week @ 2024-04-22 43/week @ 2024-04-29 94/week @ 2024-05-06 39/week @ 2024-05-13 48/week @ 2024-05-20 52/week @ 2024-05-27 56/week @ 2024-06-03 94/week @ 2024-06-10 69/week @ 2024-06-17 54/week @ 2024-06-24

277 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