diff --git a/native/cpp/CommonCpp/grpc/blob_client/rust/src/lib.rs b/native/cpp/CommonCpp/grpc/blob_client/rust/src/lib.rs --- a/native/cpp/CommonCpp/grpc/blob_client/rust/src/lib.rs +++ b/native/cpp/CommonCpp/grpc/blob_client/rust/src/lib.rs @@ -1,3 +1,18 @@ +use lazy_static::lazy_static; +use std::sync::Arc; +use tokio::runtime::{Builder, Runtime}; + pub mod blob { tonic::include_proto!("blob"); -} \ No newline at end of file +} + +lazy_static! { + pub static ref RUNTIME: Arc = Arc::new( + Builder::new_multi_thread() + .worker_threads(1) + .max_blocking_threads(1) + .enable_all() + .build() + .unwrap() + ); +}