#codec #prost #buffer #decoding #protocols #annotated #generate

macro prost-derive

Generate encoding and decoding implementations for Prost annotated types

31 releases

0.13.2 Aug 30, 2024
0.13.1 Jul 9, 2024
0.12.6 May 17, 2024
0.12.3 Nov 21, 2023
0.1.0 Jun 25, 2017

#74 in Procedural macros

Download history 1363555/week @ 2024-05-28 1452042/week @ 2024-06-04 1438657/week @ 2024-06-11 1313582/week @ 2024-06-18 1422492/week @ 2024-06-25 1283905/week @ 2024-07-02 1439068/week @ 2024-07-09 1427263/week @ 2024-07-16 1492824/week @ 2024-07-23 1525477/week @ 2024-07-30 1505454/week @ 2024-08-06 1542201/week @ 2024-08-13 1629580/week @ 2024-08-20 1561812/week @ 2024-08-27 1779378/week @ 2024-09-03 1465070/week @ 2024-09-10

6,699,646 downloads per month
Used in 2,220 crates (51 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