Crate features / protobuf
Feature flags · protobuf 3.7.2 · from crates.io 2026-10-24
protobuf features: what each one does, and the line to copy
Short answerprotobuf 3.7.2 has 1 feature. Nothing is on by default: turn on what you use.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
with-bytes | bytes |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version protobuf declares (rust-version), and the release that changed it:
- 4.30.0-beta1 (2024-12-18): Rust 1.74
- 3.7.2 (2025-03-10): no rust-version declared
- 4.31.0-rc.1 (2025-04-18): Rust 1.74
- 4.31.0-release (2025-05-14): Rust 1.79
- 4.36.1-release (2026-08-31): no rust-version declared
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p protobuf --precise <version>, or use resolver 3, which picks compatible versions for you.
More on protobuf
Real downloads, dependents and alternatives: protobuf crate data (370.4K real downloads a day, 602 dependents).
Security record: protobuf advisories.
docs.rs feature list · crates.io · license MIT · edition 2021
Up next
Before you depend on itprotobuf crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?