#protobuf #google #serde

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

#839 in Encoding

Download history 6/week @ 2024-12-26 117/week @ 2025-01-02 240/week @ 2025-01-09 409/week @ 2025-01-16 411/week @ 2025-01-23 254/week @ 2025-01-30 462/week @ 2025-02-06 421/week @ 2025-02-13 446/week @ 2025-02-20 482/week @ 2025-02-27 453/week @ 2025-03-06 334/week @ 2025-03-13 281/week @ 2025-03-20 248/week @ 2025-03-27 252/week @ 2025-04-03 211/week @ 2025-04-10

1,051 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.9–2.5MB
~54K SLoC