33 lines
947 B
TOML
33 lines
947 B
TOML
[package]
|
||
name = "chassis-bench"
|
||
description = "Bench harness: stimulus, safety envelope, trial sampling, and the bench binaries"
|
||
version.workspace = true
|
||
edition.workspace = true
|
||
rust-version.workspace = true
|
||
license.workspace = true
|
||
|
||
[lints]
|
||
workspace = true
|
||
|
||
# 二进制从 `src/bin/` 自动发现:
|
||
# - `chassis-spin`:四轮定速旋转(slcan,全平台)
|
||
# - `socketcan-spin`:单电机验证(SocketCAN,仅 Linux)
|
||
|
||
[dependencies]
|
||
can-link = { workspace = true }
|
||
motor-core = { workspace = true }
|
||
dji-esc = { workspace = true }
|
||
dji-esc-sim = { workspace = true }
|
||
dji-esc-slcan = { workspace = true }
|
||
tokio = { workspace = true }
|
||
thiserror = { workspace = true }
|
||
tracing = { workspace = true }
|
||
tracing-subscriber = { workspace = true }
|
||
clap = { workspace = true }
|
||
|
||
[target.'cfg(target_os = "linux")'.dependencies]
|
||
dji-esc-socketcan = { workspace = true }
|
||
|
||
[dev-dependencies]
|
||
tokio = { workspace = true, features = ["test-util"] }
|