From 9f77760413457e29cbf0ab81224f244c87a860e1 Mon Sep 17 00:00:00 2001 From: Stefan VanBuren Date: Thu, 1 Aug 2024 15:37:36 -0400 Subject: [PATCH] Enable `file_descriptor_set` option for prost This is important for Tonic's reflection implementation. --- plugins/community/neoeinstein-prost/v0.3.1/buf.plugin.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/community/neoeinstein-prost/v0.3.1/buf.plugin.yaml b/plugins/community/neoeinstein-prost/v0.3.1/buf.plugin.yaml index cbd432183..b85f1ca4e 100644 --- a/plugins/community/neoeinstein-prost/v0.3.1/buf.plugin.yaml +++ b/plugins/community/neoeinstein-prost/v0.3.1/buf.plugin.yaml @@ -23,5 +23,6 @@ registry: # https://docs.rs/crate/prost-types/0.12.3/features default_features: true # https://github.com/neoeinstein/protoc-gen-prost/blob/protoc-gen-prost-v0.3.1/protoc-gen-prost/README.md#options - # No options set. - opts: [] + opts: + # Includes the encoded FileDescriptorSet in the generated output for each module. + - file_descriptor_set