Document crates.io as primary cargo install source for protoc plugins#28
Merged
Document crates.io as primary cargo install source for protoc plugins#28
Conversation
Both protoc-gen-buffa and protoc-gen-buffa-packaging are now published on crates.io, so 'cargo install --locked protoc-gen-buffa protoc-gen-buffa-packaging' is the friendlier path for most users. Keep the --git form as a fallback for unreleased changes.
asacamano
approved these changes
Apr 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Both
protoc-gen-buffaandprotoc-gen-buffa-packagingare now published on crates.io, socargo install --locked protoc-gen-buffa protoc-gen-buffa-packagingis the friendlier path for most users — no git checkout, version-pinned to a published release.Keeps the
--gitform as a fallback for unreleased changes (e.g. when picking up a fix that hasnt been released yet).Context: I was reviewing plugin install documentation across
anthropics/buffaandanthropics/connect-rust(see anthropics/connect-rust#33 for the analogous issue on connect-rust). The buffa guide already covers GitHub release downloads, cosign verification, andgh attestation verify— only this one cargo-install path was missing.Verified
cargo search protoc-gen-buffa/protoc-gen-buffa-packagingboth return0.3.0from crates.io.