vectordb_proto/lib.rs
1/// This crate contains the generated Protocol Buffer code for the VectorDB gRPC service.
2///
3/// It is generated from the `vectordb.proto` and `editing.proto` files.
4
5// Include the generated code
6pub mod vectordb {
7 include!(concat!(env!("OUT_DIR"), "/vectordb.rs"));
8}
9
10pub mod editing {
11 include!(concat!(env!("OUT_DIR"), "/editing.rs"));
12}
13
14// Re-export the services
15pub use vectordb::vector_db_service_server;
16pub use vectordb::vector_db_service_client;
17pub use editing::editing_service_server;
18pub use editing::editing_service_client;
19
20// File descriptor set for reflection
21pub const FILE_DESCRIPTOR_SET: &[u8] = include_bytes!(concat!(
22 env!("OUT_DIR"),
23 "/vectordb_descriptor.bin"
24));