Migrate to tonic
This commit is contained in:
parent
6d1582792c
commit
7a9b9c0f09
10 changed files with 1014 additions and 79 deletions
|
@ -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
|
Reference in a new issue