Skip to content

Commit 1691913

Browse files
qdrant-cloud-botmnaumanofficial13-svgcursoragentffuugooCopilot
authored
chore: update dependencies (#283)
* chore: update anyhow to 1.0.102 Co-authored-by: Cursor <cursoragent@cursor.com> * chore: update futures to 0.3.32 Co-authored-by: Cursor <cursoragent@cursor.com> * chore: update futures-util to 0.3.32 Co-authored-by: Cursor <cursoragent@cursor.com> * chore: update semver to 1.0.28 Co-authored-by: Cursor <cursoragent@cursor.com> * chore: update serde to 1.0.228 Co-authored-by: Cursor <cursoragent@cursor.com> * chore: update serde_json to 1.0.150 Co-authored-by: Cursor <cursoragent@cursor.com> * chore: update tokio to 1.52.3 Co-authored-by: Cursor <cursoragent@cursor.com> * chore: update uuid to 1.23.1 Co-authored-by: Cursor <cursoragent@cursor.com> * chore: update prost to 0.14.3 Co-authored-by: Cursor <cursoragent@cursor.com> * chore: update prost-types to 0.14.3 Co-authored-by: Cursor <cursoragent@cursor.com> * chore: update tonic to 0.14.6 Co-authored-by: Cursor <cursoragent@cursor.com> * chore: update tonic-build to 0.14.6 In tonic 0.14, prost integration was extracted into separate crates tonic-prost (runtime) and tonic-prost-build (codegen). Add both and update tests/protos.rs accordingly. prost-build 0.14 also auto-derives Eq and Hash for messages where possible, which clashes with the manual `impl Hash for PointId` in extensions.rs; the manual impl is dropped in favor of the derive. The field-level `#[deprecated(since = ..., note = ...)]` attributes for deprecated oneof variants are no longer applied via configure_deprecations because tonic-prost-build now emits a plain `#[deprecated]` from the proto annotation itself, which conflicted with the manual one. The generated src/qdrant.rs is regenerated with the new toolchain. Co-authored-by: Cursor <cursoragent@cursor.com> * chore: update reqwest to 0.13.4 reqwest 0.13 renamed the `rustls-tls` feature to `rustls`; update the feature list accordingly. Co-authored-by: Cursor <cursoragent@cursor.com> * chore: update thiserror to 2.0.18 Co-authored-by: Cursor <cursoragent@cursor.com> * Remove `tonic-build` dev-dependency Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <agent@cursor.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Roman Titov <ffuugoo@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 0c21ee4 commit 1691913

4 files changed

Lines changed: 279 additions & 288 deletions

File tree

Cargo.toml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,25 @@ categories = ["database", "api-bindings"]
1313
keywords = ["qdrant", "vector-search", "search-engine", "client", "grpc"]
1414

1515
[dependencies]
16-
tonic = { version = "0.12.3", features = ["tls", "tls-roots", "gzip"] }
17-
prost = "0.13.3"
18-
prost-types = "0.13.3"
19-
anyhow = "1.0.89"
20-
serde = { version = "1.0.210", features = ["derive"], optional = true }
21-
serde_json = { version = "1.0.128", optional = true }
22-
reqwest = { version = "0.12.8", optional = true, default-features = false, features = ["stream", "rustls-tls", "http2"] }
23-
futures = { version = "0.3.31" }
24-
tokio = { version = "1.40.0", features = ["rt-multi-thread"] }
25-
futures-util = { version = "0.3.31", optional = true }
16+
tonic = { version = "0.14.6", features = ["tls-ring", "tls-native-roots", "gzip"] }
17+
tonic-prost = "0.14.6"
18+
prost = "0.14.3"
19+
prost-types = "0.14.3"
20+
anyhow = "1.0.102"
21+
serde = { version = "1.0.228", features = ["derive"], optional = true }
22+
serde_json = { version = "1.0.150", optional = true }
23+
reqwest = { version = "0.13.4", optional = true, default-features = false, features = ["stream", "rustls", "http2"] }
24+
futures = { version = "0.3.32" }
25+
tokio = { version = "1.52.3", features = ["rt-multi-thread"] }
26+
futures-util = { version = "0.3.32", optional = true }
2627
derive_builder = { version = "0.20.2" }
27-
thiserror = "1.0.64"
28-
semver = "1.0.24"
29-
uuid = { version = "1.8.2", optional = true }
28+
thiserror = "2.0.18"
29+
semver = "1.0.28"
30+
uuid = { version = "1.23.1", optional = true }
3031
parking_lot = "0.12.4"
3132

3233
[dev-dependencies]
33-
tonic-build = { version = "0.12.3", features = ["prost"] }
34+
tonic-prost-build = { version = "0.14.6" }
3435

3536
[features]
3637
default = ["download_snapshots", "serde", "generate-snippets"]

src/grpc_conversions/extensions.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -293,17 +293,6 @@ impl From<Uuid> for PointIdOptions {
293293
}
294294
}
295295

296-
impl Hash for PointId {
297-
fn hash<H: Hasher>(&self, state: &mut H) {
298-
use crate::qdrant::point_id::PointIdOptions::{Num, Uuid};
299-
match &self.point_id_options {
300-
Some(Num(u)) => state.write_u64(*u),
301-
Some(Uuid(s)) => s.hash(state),
302-
None => {}
303-
}
304-
}
305-
}
306-
307296
impl Hash for ScoredPoint {
308297
fn hash<H: Hasher>(&self, state: &mut H) {
309298
self.id.hash(state)

0 commit comments

Comments
 (0)