Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows building registry #126

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Allows building registry #126

merged 1 commit into from
Oct 13, 2023

Conversation

xfbs
Copy link
Contributor

@xfbs xfbs commented Oct 12, 2023

This allows for compiling the registry.

  • Adds tonic and prost dependencies. These are needed for the buffrs generated code to compile correctly.
  • Adds registry to crate workspace. This allows for a better dev experience (they share a target folder, meaning that you don't have to recompile shared dependencies twice) and allows the tests to be included in the CI.

Some open questions:

  • I've had to add tonic and prost as direct dependencies of the registry for it to build. Is that the way to go? We could circumvent this, by re-exporting tonic and prost from buffrs (as buffrs::tonic and buffrs::prost) and minimally rewriting generated files. This might allow for a smoother experience, because it means you are not confronted with errors.

@xfbs xfbs self-assigned this Oct 12, 2023
@xfbs xfbs marked this pull request as ready for review October 12, 2023 12:38
@xfbs xfbs added complexity::low Issues or ideas with a low implementation cost component::registry Everything related to the buffrs registry priority::low Please dont work on this if you can contribute something with a higher priority type::fix labels Oct 12, 2023
@xfbs xfbs enabled auto-merge (rebase) October 12, 2023 12:42
This allows for compiling the registry:
- Adds tonic dependency
- Adds prost dependency
- Adds `registry` to crate workspace
@xfbs xfbs merged commit c142eff into main Oct 13, 2023
5 checks passed
@xfbs xfbs deleted the pe/registry branch October 13, 2023 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity::low Issues or ideas with a low implementation cost component::registry Everything related to the buffrs registry priority::low Please dont work on this if you can contribute something with a higher priority type::fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants