33 lines
895 B
TOML
33 lines
895 B
TOML
[package]
|
|
name = "car-rs"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[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"] }
|
|
tokio-stream = "0.1.11"
|
|
prost = "0.11"
|
|
|
|
# https://github.com/hyperium/tonic
|
|
tonic = "0.8.3"
|
|
|
|
# https://docs.rs/serialport/4.0.1/serialport/index.html
|
|
serialport = "4.3.0"
|
|
|
|
clap = { version = "4.1.8", features = ["derive"] }
|
|
|
|
[build-dependencies]
|
|
tonic-build = "0.8.3"
|
|
|
|
[features]
|
|
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 |