Clean up rust implementation, add lidar implementation in rust

This commit is contained in:
Michael Pivato
2024-03-15 21:17:13 +10:30
parent a3060d7e22
commit bed026dd20
8 changed files with 729 additions and 105 deletions

View File

@@ -11,16 +11,23 @@ rppal = { version = "0.13.1", optional = true }
futures-core = "0.3"
futures-util = "0.3"
tokio = { version = "1", features = ["full"] }
tokio-stream = "0.1.11"
prost = "0.11"
# https://github.com/hyperium/tonic
tonic = "0.8.0"
tonic = "0.8.3"
# https://docs.rs/serialport/4.0.1/serialport/index.html
serialport = "4.0.1"
serialport = "4.3.0"
clap = { version = "4.1.8", features = ["derive"] }
[build-dependencies]
tonic-build = "0.8.0"
tonic-build = "0.8.3"
[features]
rppal = ["dep:rppal"]
rppal = ["dep:rppal"]
# How to get dependencies for my own projects, so I don't need to upload to crates.io
# or create my own rust package repo.
# https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories