forked from connectrpc/connect-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuf.gen.yaml
More file actions
24 lines (24 loc) · 1.05 KB
/
Copy pathbuf.gen.yaml
File metadata and controls
24 lines (24 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: v2
plugins:
- local: ../../../buffa/target/release/protoc-gen-buffa
out: src/generated/buffa
# `reflect_mode=bridge` makes each generated package embed its
# descriptors and expose `descriptor_pool()`, which the server can
# hand to `connectrpc_reflection::Reflector::from_descriptor_pool`
# (the REFLECTION_SOURCE=pool mode) instead of a separate
# FileDescriptorSet file. `strategy: all` is required with it: under
# buf's default per-directory strategy each plugin invocation sees
# only one package, so the embedded pools would not cover the other
# packages' services.
strategy: all
opt: [views=true, json=true, reflect_mode=bridge]
- local: ../../../buffa/target/release/protoc-gen-buffa-packaging
out: src/generated/buffa
strategy: all
- local: ../../target/release/protoc-gen-connect-rust
out: src/generated/connect
opt: [buffa_module=crate::proto]
- local: ../../../buffa/target/release/protoc-gen-buffa-packaging
out: src/generated/connect
strategy: all
opt: [filter=services]