Expected Behavior
The issue is not raised by the Rust compiler.
Actual Behavior
The compiler indicates the next error:
note: two different versions of crate tonic are being used; two types coming from two different versions of the same crate are different types even if they look the same
Steps to Reproduce the Problem
- Create a sample project.
- Define these packages in the
Cargo.toml file.
dapr = "0.17.0"
tonic = "0.13.1"
- Define a Dapr client in the source code.
- Run
cargo build.
Workaround
Change the Cargo.toml file to:
dapr = "0.17.0"
tonic = "0.12.3" # Downgrade the version
Release Note
RELEASE NOTE: UPDATE Client dependencies.