-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Cargo Registry support to
buf.plugin.yaml
The plan is to land this on `main` (for the plugins repo) and then merge it over to `dev`.
- Loading branch information
1 parent
eaec0b4
commit 5834b7e
Showing
9 changed files
with
995 additions
and
574 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
9 changes: 0 additions & 9 deletions
9
private/bufpkg/bufplugin/bufpluginconfig/testdata/success/archive/buf.plugin.yaml
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
private/bufpkg/bufplugin/bufpluginconfig/testdata/success/cargo/buf.plugin.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: v1 | ||
name: buf.build/community/neoeinstein-prost | ||
plugin_version: v0.3.1 | ||
source_url: https://github.com/neoeinstein/protoc-gen-prost | ||
description: Generates code using the Prost! code generation engine. | ||
output_languages: | ||
- rust | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/neoeinstein/protoc-gen-prost/blob/protoc-gen-prost-v0.3.1/LICENSE | ||
registry: | ||
cargo: | ||
# https://github.com/neoeinstein/protoc-gen-prost/blob/protoc-gen-prost-v0.3.1/protoc-gen-prost/Cargo.toml#L21 | ||
# https://github.com/tokio-rs/prost/blob/v0.12.3/prost-build/Cargo.toml#L15 | ||
rust_version: "1.60" | ||
deps: | ||
# https://github.com/tokio-rs/prost/blob/907e9f6fbf72262f52333459bbfb27224da1ad72/prost-build/Cargo.toml#L30 | ||
- name: prost | ||
req: "0.12.3" | ||
default_features: true | ||
# https://github.com/neoeinstein/protoc-gen-prost/tree/protoc-gen-prost-v0.3.1/protoc-gen-prost#options | ||
# https://docs.rs/protoc-gen-prost/latest/protoc_gen_prost/#options | ||
opts: | ||
# `Any` support. | ||
- enable_type_names=true |
Oops, something went wrong.