Upgrading tonic 0.10 to 0.11
Breaking0.10.2 → 0.11.0Breaking1Platform1New2Changed2
BreakingUpgrade verdict
1 breaking change and a platform requirement change.
In plain terms
- A commonly used type moved to a new location, so existing imports must be updated.
- You need Rust 1.70 or newer to build this version.
Must act 2 items need code or config changes
What you must change
Breaking1
Removes
NamedService from the transport module; import it from tonic::server::NamedService instead.NamedServicetonic::transporttonic::server::NamedServicePlatform1
Bumps the minimum supported Rust version (MSRV) to 1.70.