mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-13 16:46:55 +00:00
move protobuf generate into bin crate
Signed-off-by: junxiang Mu <1948535941@qq.com>
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user