79 stable releases

4.31.0-beta1 Mar 6, 2025
4.30.0-beta1 Dec 18, 2024
3.7.2 Mar 10, 2025
3.7.1 Oct 15, 2024
1.6.0 May 11, 2018

#70 in Development tools

Download history 135147/week @ 2024-12-05 146778/week @ 2024-12-12 74187/week @ 2024-12-19 53837/week @ 2024-12-26 102244/week @ 2025-01-02 130638/week @ 2025-01-09 126570/week @ 2025-01-16 118679/week @ 2025-01-23 139111/week @ 2025-01-30 185504/week @ 2025-02-06 171746/week @ 2025-02-13 179764/week @ 2025-02-20 194854/week @ 2025-02-27 188618/week @ 2025-03-06 186905/week @ 2025-03-13 157132/week @ 2025-03-20

758,228 downloads per month
Used in 416 crates (100 directly)

BSD-3-Clause

12KB
221 lines

The build time dependency crate for generating code for the official Google Rust Protobuf implementation.

The code generated by this is expected to be used in conjunction with the official Protobuf crate.

This is currently a beta release: the API is subject to change, and there may be some rough edges, including missing documentation and features.

How to get a compatible version of protoc

Usage of this crate currently requires protoc to be built from source, as it relies on changes that have not been included in the newest protoc release yet.

A future stable release will be compatible with the officially released protoc binaries.

You can build a compatible protoc from source as follows:

git clone https://github.com/protocolbuffers/protobuf.git
cd protobuf
git checkout rust-prerelease-4.31.0-beta1
cmake . -Dprotobuf_FORCE_FETCH_DEPENDENCIES=ON
cmake --build . --parallel 12"

Dependencies

~210–300KB