Add grpc initalisation, start adding streaming grpc control

This commit is contained in:
piv
2022-08-07 16:04:07 +09:30
parent d876fcbb2e
commit f48518e88f
5 changed files with 71 additions and 33 deletions

View File

@@ -8,6 +8,8 @@ edition = "2021"
[dependencies]
# https://github.com/golemparts/rppal
rppal = { version = "0.13.1", optional = true }
futures-core = "0.3"
futures-util = "0.3"
tokio = { version = "1", features = ["full"] }
prost = "0.11"
@@ -17,12 +19,8 @@ tonic = "0.8.0"
# https://docs.rs/serialport/4.0.1/serialport/index.html
serialport = "4.0.1"
[build]
target = "armv7-unknown-linux-gnueabihf"
[build-dependencies]
tonic-build = "0.8.0"
[features]
rppal = ["dep:rppal"]