Registry / build-tool / prost-build

prost-build

JSON →
library0.14.4rscratesunverified

Generate Prost annotated Rust types from Protocol Buffers files.

# Cargo.toml [dependencies] prost-build = "0.14.4"
INSTALL
IMPORT
SIG · PROST-BUILD
P
prost-build
build-toolrustv0.14.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

compile_protos
✓ use prost_build::compile_protos;

Compiles a .proto file into Rust code during build.

use prost_build::compile_protos; fn main() { compile_protos(&["src/messages.proto"], &["src/"]).unwrap(); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.14.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
prost-build — cargo add prost-build · libregistry