Skip to content
Merged
29 changes: 15 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,25 @@ categories = ["database", "api-bindings"]
keywords = ["qdrant", "vector-search", "search-engine", "client", "grpc"]

[dependencies]
tonic = { version = "0.12.3", features = ["tls", "tls-roots", "gzip"] }
prost = "0.13.3"
prost-types = "0.13.3"
anyhow = "1.0.89"
serde = { version = "1.0.210", features = ["derive"], optional = true }
serde_json = { version = "1.0.128", optional = true }
reqwest = { version = "0.12.8", optional = true, default-features = false, features = ["stream", "rustls-tls", "http2"] }
futures = { version = "0.3.31" }
tokio = { version = "1.40.0", features = ["rt-multi-thread"] }
futures-util = { version = "0.3.31", optional = true }
tonic = { version = "0.14.6", features = ["tls-ring", "tls-native-roots", "gzip"] }
tonic-prost = "0.14.6"
prost = "0.14.3"
prost-types = "0.14.3"
anyhow = "1.0.102"
serde = { version = "1.0.228", features = ["derive"], optional = true }
serde_json = { version = "1.0.150", optional = true }
reqwest = { version = "0.13.4", optional = true, default-features = false, features = ["stream", "rustls", "http2"] }
futures = { version = "0.3.32" }
tokio = { version = "1.52.3", features = ["rt-multi-thread"] }
futures-util = { version = "0.3.32", optional = true }
derive_builder = { version = "0.20.2" }
thiserror = "1.0.64"
semver = "1.0.24"
uuid = { version = "1.8.2", optional = true }
thiserror = "2.0.18"
semver = "1.0.28"
uuid = { version = "1.23.1", optional = true }
parking_lot = "0.12.4"

[dev-dependencies]
tonic-build = { version = "0.12.3", features = ["prost"] }
tonic-prost-build = { version = "0.14.6" }

[features]
default = ["download_snapshots", "serde", "generate-snippets"]
Expand Down
11 changes: 0 additions & 11 deletions src/grpc_conversions/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,17 +293,6 @@ impl From<Uuid> for PointIdOptions {
}
}

impl Hash for PointId {
fn hash<H: Hasher>(&self, state: &mut H) {
use crate::qdrant::point_id::PointIdOptions::{Num, Uuid};
match &self.point_id_options {
Some(Num(u)) => state.write_u64(*u),
Some(Uuid(s)) => s.hash(state),
None => {}
}
}
}

impl Hash for ScoredPoint {
fn hash<H: Hasher>(&self, state: &mut H) {
self.id.hash(state)
Expand Down
Loading
Loading