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

macro prost-derive

Generate encoding and decoding implementations for Prost annotated types

32 releases

0.13.3 Sep 21, 2024
0.13.1 Jul 9, 2024
0.12.3 Nov 21, 2023
0.11.9 Apr 12, 2023
0.1.0 Jun 25, 2017

#75 in Procedural macros

Download history 1510233/week @ 2024-07-25 1491094/week @ 2024-08-01 1598527/week @ 2024-08-08 1527449/week @ 2024-08-15 1655483/week @ 2024-08-22 1560514/week @ 2024-08-29 1812233/week @ 2024-09-05 1724459/week @ 2024-09-12 1716445/week @ 2024-09-19 1846381/week @ 2024-09-26 1834556/week @ 2024-10-03 1881786/week @ 2024-10-10 2044886/week @ 2024-10-17 2019275/week @ 2024-10-24 1797248/week @ 2024-10-31 1825449/week @ 2024-11-07

8,121,387 downloads per month
Used in 2,257 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
~28K SLoC