From c0b101be5fb1752764d18a6a4dd915e2d8412fc4 Mon Sep 17 00:00:00 2001 From: Stefan VanBuren Date: Thu, 1 Aug 2024 14:31:26 -0400 Subject: [PATCH] Enable default_features in tonic dependency Spending more time with the generated code, it seems that all of the current default_features are required for code generation - we ought to flip this to `true` so that users don't need to. --- plugins/community/neoeinstein-tonic/v0.4.0/buf.plugin.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/community/neoeinstein-tonic/v0.4.0/buf.plugin.yaml b/plugins/community/neoeinstein-tonic/v0.4.0/buf.plugin.yaml index 071a97310..2f4d384dc 100644 --- a/plugins/community/neoeinstein-tonic/v0.4.0/buf.plugin.yaml +++ b/plugins/community/neoeinstein-tonic/v0.4.0/buf.plugin.yaml @@ -16,8 +16,7 @@ registry: - name: "tonic" req: "0.11.0" # https://github.com/hyperium/tonic/blob/v0.11.0/tonic/Cargo.toml#L29 - # The generated code does not require any of the default features of tonic. - default_features: false + default_features: true # https://github.com/neoeinstein/protoc-gen-prost/blob/protoc-gen-tonic-v0.4.0/protoc-gen-tonic/README.md#options opts: - no_include=true