Closed Ruddickmg closed 3 months ago
@Ruddickmg hello! tonic = "0.11"
doesn't support hyper = "1"
. Can you check current master branch? Well, we are waiting for 0.12 release.
The example code link above is from recent master
branch, after the hyper 1
migration. That it doesn't work with tokio 0.11
is intentional: the current state of the master
branch reflects the current development state.
You should instead look at the "uds" example state as of the 0.11.0
tag, which should work with tokio 0.11
: https://github.com/hyperium/tonic/blob/v0.11.0/examples/src/uds/client.rs
I think, we can close the issue.
Bug Report
The current "uds" example does not compile
Version
All my dependencies
Platform
64-bit Ubuntu 22.04.4 LTS
Description
When copy pasting the example found here the code does not compile, resulting in the following error: