-
Notifications
You must be signed in to change notification settings - Fork 929
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
Cannot compile dependency #1639
Comments
I believe you need to enable this feature https://github.com/hyperium/tonic/blob/master/tonic/Cargo.toml#L27 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Version
└── tonic v0.11.0
└── tonic-build v0.7.2
Platform
Windows 11 64-bit build: 22631.2715
Description
Every time I try to compile tonic, with no features, I am constantly getting build errors
Ive tried to fix them by editing the codegen file, which worked but ofcourse every time I reopen vs code the errors re-appear.
I tried to compile the hello world example, but it didnt work. Ive been having this issue since january 7th, there i was using tonic "0.7" and when I added the feature "compression" these problems would appear.
But with the latest version (v0.11.0) I cannot remove this feature I guess.
I edited:
to:
And also had to bring use tonic::server::NamedService; into scope, but that was in the changleog that I had to do that.
This is my very first issue opened, so Im happy to provide more info if I missed something
The text was updated successfully, but these errors were encountered: