Skip to content

Commit

Permalink
expose builders module
Browse files Browse the repository at this point in the history
  • Loading branch information
JojiiOfficial committed Jun 28, 2024
1 parent 7f4e857 commit d37a598
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/qdrant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8926,4 +8926,5 @@ builder_type_conversions!(DeletePoints, DeletePointsBuilder, true);

pub use crate::manual_builder::*;
pub use crate::builder_types::*;
pub use crate::qdrant_client::builders::*;
pub use prost_types::Timestamp;
2 changes: 1 addition & 1 deletion src/qdrant_client/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mod builders;
pub(crate) mod builders;
mod collection;
pub mod config;
mod conversions;
Expand Down
4 changes: 4 additions & 0 deletions tests/protos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ fn protos() {
// import our manual builder here so all builder come from the same module in the end user API.
append_to_file(GRPC_OUTPUT_FILE, "pub use crate::manual_builder::*;");
append_to_file(GRPC_OUTPUT_FILE, "pub use crate::builder_types::*;");
append_to_file(
GRPC_OUTPUT_FILE,
"pub use crate::qdrant_client::builders::*;",
);

// Vendor gRPC types used in our objects
append_to_file(GRPC_OUTPUT_FILE, "pub use prost_types::Timestamp;");
Expand Down

0 comments on commit d37a598

Please sign in to comment.