-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuf.gen.yaml
92 lines (68 loc) · 1.59 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/utxorpc/go-codegen
plugins:
# go
- plugin: buf.build/protocolbuffers/go
out: gen/go
opt:
- paths=source_relative
- plugin: buf.build/connectrpc/go
out: gen/go
opt:
- paths=source_relative
# rust
- plugin: prost
out: gen/rust/src
opt:
- bytes=.
- compile_well_known_types
- file_descriptor_set
- extern_path=.google.protobuf=::pbjson_types
- plugin: prost-serde
out: gen/rust/src
- plugin: prost-crate
out: gen/rust
strategy: all
opt:
- gen_crate=gen/rust/Cargo.toml
- plugin: tonic
out: gen/rust/src
opt:
- compile_well_known_types
- no_transport
- extern_path=.google.protobuf=::pbjson_types
# python
- plugin: buf.build/protocolbuffers/python
out: gen/python/utxorpc_spec
- plugin: buf.build/protocolbuffers/pyi
out: gen/python/utxorpc_spec
- plugin: buf.build/grpc/python:v1.64.2
out: gen/python/utxorpc_spec
# node
- plugin: es
out: gen/node/src
opt:
- target=ts
- plugin: connect-es
out: gen/node/src
opt:
- target=ts
# haskell
- plugin: haskell-protolens
path: proto-lens-protoc
out: gen/haskell
# dotnet
- plugin: buf.build/grpc/csharp:v1.68.0
out: gen/dotnet
- plugin: buf.build/protocolbuffers/csharp:v28.3
out: gen/dotnet
# other
- plugin: buf.build/grpc-ecosystem/openapiv2
out: gen/openapi
- plugin: buf.build/community/pseudomuto-doc
out: gen/docs
opt:
- markdown,docs.md