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

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

Open
giacomocariello opened this issue Apr 9, 2023 · 1 comment

Comments

@giacomocariello
Copy link

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

@adamrk
Copy link
Owner

adamrk commented Sep 1, 2023

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

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

No branches or pull requests

2 participants