1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! Wire protocol types for Vectorizer — shared between the server
//! (umbrella `vectorizer` crate, soon `vectorizer-server`) and the
//! Rust SDK (`sdks/rust`). Carries the on-the-wire shapes only; the
//! dispatch / handler layer lives in `vectorizer::protocol::rpc::server`
//! and `vectorizer::grpc::server` because those types depend on the
//! storage engine, auth, and the capability registry.
//!
//! - [`rpc_wire`] — length-prefixed MessagePack frames (Request /
//! Response / VectorizerValue) and the codec helpers that read /
//! write them. Wire spec: `docs/specs/VECTORIZER_RPC.md`.
//! - [`grpc_gen`] — `tonic-prost`-generated modules for the three
//! gRPC schemas: `vectorizer`, `cluster`, `qdrant_proto`. Built by
//! this crate's `build.rs` against the `proto/` source tree.
/// `tonic-prost`-generated gRPC modules. Mirrors the layout of the
/// underlying `proto/` source tree.
///
/// Generated code can't carry per-item lint annotations, so the
/// wrapping module silences the workspace lints that the proto
/// generator routinely trips (large enum variants from one-of
/// fields, `#[non_exhaustive]` boilerplate, missing docs).