Crate features / prost-build
Feature flags · prost-build 0.14.4 · from crates.io 2026-10-24
prost-build features: what each one does, and the line to copy
Short answerprost-build 0.14.4 has 2 features. By default it turns on format; add default-features = false to start from nothing. It needs Rust 1.85 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
cleanup-markdown | dep:pulldown-cmark, dep:pulldown-cmark-to-cmark | |
format | yes | dep:prettyplease, dep:syn |
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 prost-build declares (rust-version), and the release that changed it:
- 0.11.0 (2022-07-29): Rust 1.56
- 0.11.7 (2023-02-23): Rust 1.60
- 0.12.4 (2024-04-05): Rust 1.70
- 0.13.3 (2024-09-21): Rust 1.71.1
- 0.14.3 (2026-01-10): Rust 1.82
- 0.14.4 (2026-06-07): Rust 1.85
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p prost-build --precise <version>, or use resolver 3, which picks compatible versions for you.
More on prost-build
Real downloads, dependents and alternatives: prost-build crate data (1.1M real downloads a day, 1,031 dependents).
docs.rs feature list · crates.io · license Apache-2.0 · edition 2021
Up next
Before you depend on itprost-build crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?