-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuf.gen.yaml
73 lines (67 loc) · 1.39 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
68
69
70
71
72
73
version: v1
plugins:
#Document
- name: doc
out: docs
opt: docs/markdown.tmpl,protos.md
strategy: all
#Go
- name: go
out: pkg
opt:
- paths=source_relative
- name: go-grpc
out: pkg
opt:
- paths=source_relative
- name: go-errors
out: pkg
opt:
- paths=source_relative
#JS
- plugin: buf.build/protocolbuffers/js:v3.21.2
opt:
- import_style=commonjs
- binary
out: node
- name: js-grpc
path: node_modules/.bin/grpc_tools_node_protoc_plugin
opt: grpc_js
out: node
#TS
- name: ts
path: node_modules/.bin/protoc-gen-ts
opt:
- mode=grpc-js
- service=grpc-node
out: node
#Rust
- plugin: buf.build/community/neoeinstein-prost:v0.2.2
out: src
opt:
- bytes=.
- compile_well_known_types
- extern_path=.google.protobuf=::pbjson_types
- file_descriptor_set
- plugin: buf.build/community/neoeinstein-prost-serde:v0.2.2
out: src
- plugin: buf.build/community/neoeinstein-tonic:v0.2.2
out: src
opt:
- compile_well_known_types
- extern_path=.google.protobuf=::pbjson_types
- name: prost-crate
out: .
strategy: all
opt:
- gen_crate=Cargo.toml
#CSharp
- name: csharp
out: Assets/src
opt: base_namespace=
- plugin: buf.build/grpc/csharp:v1.54.2
out: Assets/src
#Dart
- name: dart
out: lib
opt: grpc