staging-protobuf-codegen

Crates.iostaging-protobuf-codegen
lib.rsstaging-protobuf-codegen
version4.30.0-beta1
created_at2024-10-22 20:11:26.777133+00
updated_at2024-12-18 17:55:27.50163+00
descriptionCode generator for Rust Protocol Buffers bindings
homepage
repository
max_upload_size
id1419204
size12,078
Adam Cozzette (acozzette)

documentation

README

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 $TAG
cmake . -Dprotobuf_FORCE_FETCH_DEPENDENCIES=ON
cmake --build . --parallel 12"
Commit count: 0

cargo fmt