1
0
Fork 0

Migrate to tonic

This commit is contained in:
Florian RICHER 2023-01-26 22:12:59 +01:00
parent 6d1582792c
commit 7a9b9c0f09
10 changed files with 1014 additions and 79 deletions

View file

@ -2,6 +2,7 @@
name = "command_gateway"
version = "0.1.0"
edition = "2021"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -17,5 +18,9 @@ name = "client"
path = "src/client/main.rs"
[dependencies]
anyhow = "^1.0"
jsonrpc-derive = "18.0"
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] } # Required for tonic
prost = "0.11" # Required for tonic
tonic = "0.8"
[build-dependencies]
tonic-build = { version = "0.8", features = ["prost"] } # Required for tonic