tonic-rpc icon indicating copy to clipboard operation
tonic-rpc copied to clipboard

Ditching unneeded features may help running tonic-rpc on wasm32 arch

Open giacomocariello opened this issue 2 years ago • 1 comments

Hi, I was wondering if tonic and tonic-build dependencies could be imported with default-features = false. This way, the project could also build on wasm32-unknown-unknown target (tonic wouldn't bring in tokio "full", tonic-build wouldn't bring in prost-build, which in turn uses which package, unavailable on wasm32 arch).

giacomocariello avatar Apr 09 '23 21:04 giacomocariello

Sorry for the late reply @giacomocariello. I'd be happy to take a PR implementing that.

adamrk avatar Sep 01 '23 19:09 adamrk