Ivan's Blog
项目实践

ups120-daemon

Rust daemon/service around the UPS120 device, with a plan doc and install helper; appears to include DB migration tooling. Evidence: README.md, Cargo.toml, PLAN.md, alembic/.

目录

技术栈

运行与交付

能力标记
  • cargo_toml
JSON

Basics

Rust daemon/service around the UPS120 device, with a plan doc and install helper; appears to include DB migration tooling. Evidence: README.md, Cargo.toml, PLAN.md, alembic/.

Architecture

  • Single Rust binary crate with supporting assets and migrations. Evidence: Cargo.toml, src/, alembic/.
  • Device-facing code/assets live under device/. Evidence: device/.

Conventions

  • Uses lefthook.yml for repo hooks. Evidence: lefthook.yml.
  • Plans/workflow captured in-repo. Evidence: PLAN.md.

Taste notes

Nice separation between “service core” and operational artifacts (migrations + install script), which helps deploy and maintain a device daemon in the real world.