hedera-sdk-rust icon indicating copy to clipboard operation
hedera-sdk-rust copied to clipboard

chore: demonstrate working protobufs for wasm

Open kantorcodes opened this issue 1 year ago • 0 comments

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.)

kantorcodes avatar Jan 02 '25 14:01 kantorcodes