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

macro prost-derive

Generate encoding and decoding implementations for Prost annotated types

29 releases

new 0.12.6 May 17, 2024
0.12.4 Apr 5, 2024
0.12.3 Nov 21, 2023
0.11.9 Apr 12, 2023
0.1.0 Jun 25, 2017

#388 in Procedural macros

Download history 985547/week @ 2024-01-26 988390/week @ 2024-02-02 1040241/week @ 2024-02-09 997706/week @ 2024-02-16 1160633/week @ 2024-02-23 1118468/week @ 2024-03-01 1054883/week @ 2024-03-08 1071460/week @ 2024-03-15 1072791/week @ 2024-03-22 1094267/week @ 2024-03-29 1080235/week @ 2024-04-05 1123745/week @ 2024-04-12 1157725/week @ 2024-04-19 1093962/week @ 2024-04-26 1094357/week @ 2024-05-03 970846/week @ 2024-05-10

4,528,224 downloads per month
Used in 2,127 crates (48 directly)

Apache-2.0

90KB
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.9–1.4MB
~30K SLoC