-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Using tonic for clients still pulls in extra dependencies #1014
Comments
Ugh yeah seems like a mess, honestly, I would just use tonic without the transport module. Its still a bit of a mess but will allow you better fine grained control over what you pull in. Is this change for something internal or is it in a public repo? |
Something internal, though it's probably also relevant for parts of opentelemetry-rust (notably, opentelemetry-stackdriver). |
Do you think migrating to using hyper is feasible? |
I wrote this PR that should make using hyper directly much easier #1017 |
Is there any example code for using tonic without the transport stuff? |
@djc the rustls examples under the tls folder has examples of using hyper. In general, it should just work, except servers don't provide the make service portion. |
From my comment in #959 (comment):
The text was updated successfully, but these errors were encountered: