1
0
Fork 0

Begin implement protocol

This commit is contained in:
Florian RICHER 2023-01-30 21:28:03 +01:00
parent 368d5eca46
commit f145bcf383
8 changed files with 135 additions and 48 deletions

View file

@ -7,7 +7,8 @@ publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]
name = "libcommand"
path = "src/lib.rs"
[[bin]]
name = "daemon"
@ -18,6 +19,8 @@ name = "client"
path = "src/client/main.rs"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] } # Required for tonic
tokio-stream = { version = "0.1", features = ["net"] } # Required for tonic with unix socket
tower = "0.4" # Required for tonic with unix socket