Skip to content

Conversation

@nazq
Copy link
Contributor

@nazq nazq commented Dec 9, 2025

Summary

Upgrades gRPC stack to latest versions for compatibility with downstream projects requiring newer tonic/prost.

Note: tonic 0.14 is the final milestone before the grpc-rust migration. See the release video for details on upcoming changes.

Changes

Dependencies Updated

Dependency Previous New
tonic 0.12.3 0.14.2
prost 0.13.3 0.14.1
prost-types 0.13.3 0.14.1
tonic-build 0.12.3 0.14.2
thiserror 1.0.64 2.0

New Dependencies

Dependency Version Reason
tonic-prost 0.14 Required runtime crate for tonic 0.14 ProstCodec
tonic-prost-build 0.14 Required for proto generation (dev-dependency)

Tonic Feature Changes

Tonic 0.14 restructured TLS features:

  • tlstls-ring
  • tls-rootstls-native-roots
  • Added channel feature for client transport

Code Changes

  • Regenerated src/qdrant.rs with tonic-prost-build 0.14
  • Updated tests/protos.rs to use tonic_prost_build API
  • Preserved existing derive attributes and Hash implementations

Test Plan

  • All existing unit tests pass
  • All doc tests pass
  • Integration tests pass with Qdrant v1.16.0

- Update tonic features for 0.14 API (tls-ring, tls-native-roots, channel)
- Add tonic-prost runtime dependency for ProstCodec
- Add tonic-prost-build dev dependency for proto generation
- Regenerate protobuf code with new tonic-prost-build
- Remove redundant Hash impl for PointId (now auto-derived by prost)
- Update tests/protos.rs to use tonic_prost_build API
@drusellers
Copy link

Would this help with the rustls issues I'm seeing in #257 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants