Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33074725
D5052.1768446831.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
980 B
Referenced Files
None
Subscribers
None
D5052.1768446831.diff
View Options
diff --git a/native/native_rust_library/build.rs b/native/native_rust_library/build.rs
--- a/native/native_rust_library/build.rs
+++ b/native/native_rust_library/build.rs
@@ -1,6 +1,8 @@
fn main() {
tonic_build::compile_protos("../../shared/protos/identity.proto")
- .unwrap_or_else(|e| panic!("Failed to compile protos {:?}", e));
+ .unwrap_or_else(|e| panic!("Failed to compile identity protos {:?}", e));
+ tonic_build::compile_protos("../../shared/protos/blob.proto")
+ .unwrap_or_else(|e| panic!("Failed to compile blob protos {:?}", e));
let _cxx_build =
cxx_build::bridge("src/lib.rs").flag_if_supported("-std=c++14");
println!("cargo:rerun-if-changed=src/hello.c");
diff --git a/native/native_rust_library/src/blob_client.rs b/native/native_rust_library/src/blob_client.rs
--- a/native/native_rust_library/src/blob_client.rs
+++ b/native/native_rust_library/src/blob_client.rs
@@ -0,0 +1,3 @@
+pub mod blob {
+ tonic::include_proto!("blob");
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 3:13 AM (18 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5935634
Default Alt Text
D5052.1768446831.diff (980 B)
Attached To
Mode
D5052: Expose module with generated tonic blob client code
Attached
Detach File
Event Timeline
Log In to Comment