move protobuf generate into bin crate

Signed-off-by: junxiang Mu <1948535941@qq.com>
This commit is contained in:
junxiang Mu
2025-04-21 03:09:54 +00:00
committed by houseme
parent 70e94fd018
commit 177dec627c
3 changed files with 36 additions and 22 deletions
+4 -2
View File
@@ -6,6 +6,10 @@ edition.workspace = true
[lints]
workspace = true
[[bin]]
name = "gproto"
path = "src/main.rs"
[dependencies]
#async-backtrace = { workspace = true, optional = true }
common.workspace = true
@@ -15,7 +19,5 @@ protobuf = { workspace = true }
tokio = { workspace = true }
tonic = { workspace = true, features = ["transport"] }
tower = { workspace = true }
[build-dependencies]
prost-build = { workspace = true }
tonic-build = { workspace = true }