Skip to content

Upgrading tonic-build 0.10 to 0.11

Breaking0.10.2 → 0.11.0Breaking1Platform1New2Changed2

BreakingUpgrade verdict

1 breaking change and a platform requirement change.

  • A type used by servers moved to a new location, so old import paths stop working.
  • You need Rust 1.70 or newer to build this version.
2 items need code or config changes
Breaking1
Removes NamedService from the transport module; import it via tonic::server::NamedService instead.
NamedServicetransporttonic::server::NamedService
Platform1
Bumps the minimum supported Rust version (MSRV) to 1.70.