项目实践
display-ambient-light-board-rs
Rust firmware/support crate for an ambient-light controller board, with a plan doc and examples. Evidence: README.md, Cargo.toml, PLAN.md.
目录
技术栈
运行与交付
- 能力标记
- cargo_toml
配置与质量
- 配置文件
- .env.example
- .gitignore
- Cargo.toml
- lefthook.yml
- rust-toolchain.toml
其他信息
- Cargo
- Deps build
- dotenvy
- Deps main
- critical-section
- embassy-executor
- embassy-net
- embassy-sync
JSON
{
"cargo": {
"deps_build": [
"dotenvy"
],
"deps_main": [
"critical-section",
"embassy-executor",
"embassy-net",
"embassy-sync",
"embassy-time",
"esp-alloc",
"esp-bootloader-esp-idf",
"esp-hal",
"esp-hal-embassy",
"esp-hal-smartled",
"esp-println",
"esp-wifi",
"heapless",
"smart-leds",
"static_cell"
]
},
"configs_root": [
".env.example",
".gitignore",
"Cargo.toml",
"lefthook.yml",
"rust-toolchain.toml"
],
"markers_present": [
"cargo_toml"
]
}Basics
Rust firmware/support crate for an ambient-light controller board, with a plan doc and examples. Evidence: README.md, Cargo.toml, PLAN.md.
Architecture
- Library-style Rust crate with examples and docs to drive board bring-up. Evidence:
Cargo.toml,examples/,docs/. - Build script indicates codegen/assets integration typical for embedded projects. Evidence:
build.rs.
Conventions
- Pinned toolchain + hook-based hygiene. Evidence:
rust-toolchain.toml,lefthook.yml. - Plan captured in-repo for traceability. Evidence:
PLAN.md.
Taste notes
Having PLAN.md next to code helps prevent “tribal knowledge” for board bring-up decisions, especially when hardware iterations are frequent.