#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

#2137 in Encoding

Download history 127/week @ 2024-11-17 186/week @ 2024-11-24 198/week @ 2024-12-01 180/week @ 2024-12-08 306/week @ 2024-12-15 19/week @ 2024-12-22 35/week @ 2024-12-29 156/week @ 2025-01-05 375/week @ 2025-01-12 344/week @ 2025-01-19 377/week @ 2025-01-26 316/week @ 2025-02-02 507/week @ 2025-02-09 411/week @ 2025-02-16 517/week @ 2025-02-23 363/week @ 2025-03-02

1,840 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
~55K SLoC