#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

#2122 in Encoding

Download history 86/week @ 2024-07-24 48/week @ 2024-07-31 44/week @ 2024-08-07 31/week @ 2024-08-14 28/week @ 2024-08-21 79/week @ 2024-08-28 171/week @ 2024-09-04 145/week @ 2024-09-11 117/week @ 2024-09-18 172/week @ 2024-09-25 151/week @ 2024-10-02 69/week @ 2024-10-09 125/week @ 2024-10-16 77/week @ 2024-10-23 124/week @ 2024-10-30 111/week @ 2024-11-06

452 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.3MB
~51K SLoC