feat: update tonic/prost and simplify build requirements (#130)

* feat: update tonic/prost and simplify build requirements

* doc: update readme for protoc installtion
This commit is contained in:
Ning Sun
2022-08-04 23:11:39 +08:00
committed by GitHub
parent fb4495eb46
commit 97be052b33
8 changed files with 109 additions and 57 deletions

View File

@@ -6,8 +6,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
prost = "0.10"
tonic = "0.7"
prost = "0.11"
tonic = "0.8"
[build-dependencies]
tonic-build = "0.7"
tonic-build = "0.8"

View File

@@ -9,7 +9,7 @@ edition = "2021"
api = { path = "../api" }
common-error = { path = "../common/error" }
snafu = { version = "0.7", features = ["backtraces"] }
tonic = "0.7"
tonic = "0.8"
[dev-dependencies]
tokio = { version = "1.0", features = ["full"] }

View File

@@ -28,7 +28,7 @@ store-api = { path = "../store-api" }
table = { path = "../table" }
table-engine = { path = "../table-engine" }
tokio = { version = "1.18", features = ["full"] }
tonic = "0.7"
tonic = "0.8"
tokio-stream = { version = "0.1.8", features = ["net"] }
tower = { version = "0.4", features = ["full"]}
tower-http = { version ="0.3", features = ["full"]}

View File

@@ -23,14 +23,14 @@ lazy_static = "1.4"
log-store = { path = "../log-store" }
object-store = { path = "../object-store" }
planus = "0.2"
prost = "0.10"
prost = "0.11"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
snafu = { version = "0.7", features = ["backtraces"] }
store-api = { path = "../store-api" }
regex = "1.5"
tokio = { version = "1.18", features = ["full"] }
tonic = "0.7"
tonic = "0.8"
uuid = { version = "1.1" , features=["v4"]}
[dev-dependencies]
@@ -40,7 +40,7 @@ rand = "0.8"
tempdir = "0.3"
[build-dependencies]
tonic-build = "0.7"
tonic-build = "0.8"
[[bench]]
name = "bench_main"