- add: initial database and auth services
This commit is contained in:
8
database-service/build.rs
Normal file
8
database-service/build.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
fn main() {
|
||||
tonic_build::configure()
|
||||
.build_server(true)
|
||||
.compile_well_known_types(true)
|
||||
.type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]")
|
||||
.compile_protos(&["../proto/database.proto"], &["../proto"])
|
||||
.unwrap_or_else(|e| panic!("Failed to compile protos {:?}", e));
|
||||
}
|
||||
Reference in New Issue
Block a user