rust-client icon indicating copy to clipboard operation
rust-client copied to clipboard

Disable tonic default features who introduces outdated axum

Open artiga033 opened this issue 10 months ago • 0 comments

This is to avoid having to introduce indirect dependency of axum, which is often not the latest if fron tonic->tower->axum.

Say if a downstream project which is a http web server based on axum, but they don't need grpc so as to tonic so they have the latest version of axum(v0.8 as of now). However as qdrant-client depends on tonic thus tower->axum(v0.7), the end project will have two axum dependency.

Anyway I think that we don't need server features as a client after all.

All Submissions:

  • [x] Contributions should target the dev branch. Did you create your branch from dev?
  • [x] Have you followed the guidelines in our Contributing document?
  • [x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  1. [x] Does your submission pass tests?
  2. [ ] ~~Have you formatted your code locally using cargo +nightly fmt --all command prior to submission?~~
  3. [ ] ~~Have you checked your code using cargo clippy --all --all-features command?~~

artiga033 avatar Mar 13 '25 05:03 artiga033