summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorStelStelox <stelstelox@arsland.ru>2026-04-21 17:30:34 +0300
committerStelStelox <stelstelox@arsland.ru>2026-04-21 17:30:34 +0300
commitff38d1bb4855ea4d34c9dafd60e2a7a2b8df13f6 (patch)
tree51c16dc866fd501a44cd0ce569fd4843d0921fdd /src/main.rs
parent38fb6b816d80ea44575d5b4cbc54219c6465c112 (diff)
add dependenciesHEADmain
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index e7a11a9..ce3bdfc 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,10 @@
-fn main() {
- println!("Hello, world!");
+//mod proto {
+// tonic::include_proto!("auth");
+//}
+
+#[tokio::main]
+async fn main() {
+ let channel = tonic::transport::Channel::from_static("http://127.0.0.1:50051").connect().await.unwrap();
+
}
+