#codec #protobuf #prost #buffer #decoding #protocols #generate

macro prost-derive

Generate encoding and decoding implementations for Prost annotated types

33 releases

0.13.4 Dec 6, 2024
0.13.3 Sep 21, 2024
0.13.2 Aug 30, 2024
0.13.1 Jul 9, 2024
0.1.0 Jun 25, 2017

#82 in Procedural macros

Download history 1841674/week @ 2024-09-20 1830807/week @ 2024-09-27 1838066/week @ 2024-10-04 1915001/week @ 2024-10-11 2049853/week @ 2024-10-18 1984828/week @ 2024-10-25 1807987/week @ 2024-11-01 1872050/week @ 2024-11-08 1981203/week @ 2024-11-15 1638622/week @ 2024-11-22 1646471/week @ 2024-11-29 2265589/week @ 2024-12-06 2141775/week @ 2024-12-13 896581/week @ 2024-12-20 817711/week @ 2024-12-27 1449509/week @ 2025-01-03

5,763,824 downloads per month
Used in 2,379 crates (55 directly)

Apache-2.0

92KB
2K SLoC

Documentation Crate

prost-derive

prost-derive handles generating encoding and decoding implementations for Rust types annotated with prost annotation. For the most part, users of prost shouldn't need to interact with prost-derive directly.

License

prost-derive is distributed under the terms of the Apache License (Version 2.0).

See LICENSE for details.

Copyright 2017 Dan Burkert

Dependencies

~0.8–1.3MB
~27K SLoC