-
Notifications
You must be signed in to change notification settings - Fork 243
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
(#2956)
- Loading branch information
1 parent
eaec0b4
commit 79f9211
Showing
9 changed files
with
1,004 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.
26 changes: 26 additions & 0 deletions
26
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,26 @@ | ||
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: | ||
# NOTE: This configuration does not perfectly match with the version in | ||
# plugins, because we want values to be set to check for round-tripping. | ||
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/v0.12.3/prost-build/Cargo.toml#L30 | ||
- name: prost | ||
req: "0.12.3" | ||
default_features: true | ||
features: ["a-feature"] | ||
# https://github.com/neoeinstein/protoc-gen-prost/tree/protoc-gen-prost-v0.3.1/protoc-gen-prost#options | ||
opts: | ||
# `Any` support. | ||
- enable_type_names=true |
Oops, something went wrong.