mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-04 00:51:06 -05:00
* extract grpc feature into sub-crate * move build.rs to api crate * split proto files between services and objects * update docs
12 lines
379 B
Rust
12 lines
379 B
Rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
tonic_build::configure()
|
|
.out_dir("src/grpc/") // saves generated structures at this location
|
|
.compile(
|
|
&["src/grpc/proto/qdrant.proto"], // proto entry point
|
|
&["src/grpc/proto"], // specify the root location to search proto dependencies
|
|
)
|
|
.unwrap();
|
|
|
|
Ok(())
|
|
}
|