I have no idea whats going on. I am using Tonic 0.8.3, with Tonic-Build 0.8.4 and Prost 0.11.6 - so all the latest versions, and I am not able to use tonic:: at all.
When I try to get anything from tonic crate, it behaves like it would not be imported, but it definitely is.
pub mod hello_world {
tonic::include_proto!("sync_api");
}
failed to resolve: use of undeclared crate or module `tonic`
use of undeclared crate or module `tonic`
Hi Guys,
I have no idea whats going on. I am using Tonic 0.8.3, with Tonic-Build 0.8.4 and Prost 0.11.6 - so all the latest versions, and I am not able to use tonic:: at all.
When I try to get anything from tonic crate, it behaves like it would not be imported, but it definitely is.
Here is my Cargo.toml
I am using tonic for a while, and have had no any issue like this before. Seems something really petty (made by me)
Could you help me please?