Skip to content

Upgrading tonic-build 0.12 to 0.13

Breaking0.12.3 → 0.13.1Breaking6New25Changed10Fixed6Other3

BreakingUpgrade verdict

6 breaking changes.

  • Removes the unnecessary Bytes type from the GrpcWebCall body type.
  • Removes the enable API from the web module.
  • Removes the unnecessary BoxBody from the router response body.
  • Removes the into_service API from the server.
Top 3 of 6 that need code or config changes

Requires Rust 1.75 from 0.13.0 (none stated before).

Breaking6
Removes the unnecessary Bytes type from the GrpcWebCall body type.
GrpcWebCallBytes
Removes the enable API from the web module.
Removes the unnecessary BoxBody from the router response body.
BoxBody
Removes the into_service API from the server.
into_service
Changes the InterceptorLayer constructor associated function.
InterceptorLayer
Adds a Body type.
Body