-
Notifications
You must be signed in to change notification settings - Fork 0
/
buf.gen.yaml
67 lines (61 loc) · 1.41 KB
/
buf.gen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: v2
plugins:
#Document
- local: protoc-gen-doc
out: docs
opt: docs/markdown.tmpl,protos.md
strategy: all
#Go
- local: protoc-gen-go
out: pkg
opt: paths=source_relative
- local: protoc-gen-go-grpc
out: pkg
opt: paths=source_relative
- local: protoc-gen-go-errors
out: pkg
opt: paths=source_relative
#JS
- remote: buf.build/protocolbuffers/js:v3.21.4
out: node
opt:
- import_style=commonjs
- binary
- local: node_modules/.bin/grpc_tools_node_protoc_plugin
out: node
opt: grpc_js
#TS
- local: node_modules/.bin/protoc-gen-ts
out: node
opt:
- mode=grpc-js
- service=grpc-node
#Rust
- remote: buf.build/community/neoeinstein-prost:v0.4.0
out: src
opt:
- bytes=.
- compile_well_known_types
- extern_path=.google.protobuf=::pbjson_types
- file_descriptor_set
- remote: buf.build/community/neoeinstein-prost-serde:v0.3.1
out: src
- remote: buf.build/community/neoeinstein-tonic:v0.4.1
out: src
opt:
- compile_well_known_types
- extern_path=.google.protobuf=::pbjson_types
- local: protoc-gen-prost-crate
out: .
opt: gen_crate=Cargo.toml
strategy: all
#CSharp
- protoc_builtin: csharp
out: Assets/src
opt: base_namespace=
- remote: buf.build/grpc/csharp:v1.66.1
out: Assets/src
#Dart
- local: protoc-gen-dart
out: lib
opt: grpc