Skip to content

feat(dapi-grpc): compile proto to rust using prost - #1028

Merged
lklimek merged 30 commits into
v0.25-devfrom
feat/queryNewSystem
May 5, 2023
Merged

lklimek merged 30 commits into
v0.25-devfrom
feat/queryNewSystem

Conversation

@lklimek

@lklimek lklimek commented May 4, 2023 •

Copy link
Copy Markdown
Contributor

Issue being fixed or feature implemented

We need a way to compile protobuf definitions into Rust code.

What was done?

Implemented compilation using prost library.

How Has This Been Tested?

Added examples:

  • packages/dapi-grpc/clients/core/v0/rust/core_example.rs
  • packages/dapi-grpc/clients/platform/v0/rust/platform_example.rs

Breaking Changes

Requires protoc to be installed on the build machine:

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@lklimek
lklimek force-pushed the feat/queryNewSystem branch from b6b4637 to 724ead8 Compare May 4, 2023 13:07
@lklimek
lklimek force-pushed the feat/queryNewSystem branch from c9d2ec1 to ca55af8 Compare May 4, 2023 13:49
@lklimek
lklimek marked this pull request as ready for review May 4, 2023 14:02
@lklimek
lklimek requested review from antouhou and shumkov as code owners May 4, 2023 14:02
Comment thread packages/dapi-grpc/Cargo.toml Resolved
Comment thread packages/dapi-grpc/scripts/build.sh Resolved
@lklimek
lklimek requested review from QuantumExplorer and shumkov May 5, 2023 09:18

@shumkov shumkov left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@lklimek
lklimek merged commit 5d8c51e into v0.25-dev May 5, 2023
@lklimek
lklimek deleted the feat/queryNewSystem branch May 5, 2023 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants