Skip to content

Commit

Permalink
Enable default_features in tonic dependency
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
stefanvanburen committed Aug 1, 2024
1 parent b64f072 commit c0b101b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/community/neoeinstein-tonic/v0.4.0/buf.plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c0b101b

Please sign in to comment.