Node service

This commit is contained in:
Eden Kirin
2023-03-20 07:52:24 +01:00
parent a99b5d0014
commit a0d2d1cb7f
12 changed files with 2060 additions and 2 deletions

View File

@ -0,0 +1,18 @@
[package]
name = "serve_currenttime"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "serve_currenttime"
path = "src/main.rs"
[dependencies]
tonic = "0.8"
prost = "0.11"
tokio = { version = "1.19.2", features = ["macros", "rt-multi-thread"] }
[build-dependencies]
tonic-build = "0.8"