Skip to content

Move protoc generation to binary crate #5718

Closed

Description

@tustvold

Is your feature request related to a problem or challenge?

As of #3950 DataFusion vendors the generated protobuf code, for a variety of reasons linked to from the PR. Unfortunately in order to avoid drift this needs to pin the version of tonic-build, etc... used to generate the code. The current approach of using a build.rs causes this to leak into downstreams

Describe the solution you'd like

Move the protoc generation into a non-published subcrate as was recently done in arrow-rs - apache/arrow-rs#3927

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions