You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling the project I receive this error message:
warning: /home/roka/Project/problems-service/Cargo.toml: unused manifest key: build
Compiling problems-service v0.1.0 (/home/roka/Project/problems-service)
Compiling httparse v1.3.4
Compiling want v0.3.0
Compiling iovec v0.1.4
error[E0433]: failed to resolve: use of undeclared type or module `tonic_build`
--> problems-service/build.rs:2:5
|
2 | tonic_build::compile_protos("proto/problems.proto").unwrap();
| ^^^^^^^^^^^ use of undeclared type or module `tonic_build`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0433`.
error: could not compile `problems-service`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
When compiling the project I receive this error message:
Project tree
Outer cargo toml:
Inner cargo toml:
build.rs
Platform:
Linux roka-pc 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Default host: x86_64-unknown-linux-gnu
stable-x86_64-unknown-linux-gnu (default)
rustc 1.47.0 (18bf6b4f0 2020-10-07)
The text was updated successfully, but these errors were encountered: