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

chore: demonstrate working protobufs for wasm #883

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kantorcodes
Copy link

Description:

Currently, protobufs and the hedera-sdk-rust will not compile for WASM due to dependencies like tonic and mio not being compatible. This is a proof of concept demonstrating protobufs achieving compatibility by utilizing prost directly instead.

Note, this is not production ready and merely a proof of concept.

In order to test this is working you can run the example tests with this command

wasm-pack test --chrome --headless

Related issue(s):

Fixes #

Notes for reviewer:

I would not consider myself proficient in rust and I am certain there are more efficient ways to get this to work.

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

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.

1 participant