#cargo-subcommand #scaffold #migration

app cargo-hwhkit

cargo hwhkit init / migrate / dev 命令

4 releases

new 0.6.0-alpha.2 May 15, 2026
0.2.0-alpha.3 Feb 10, 2026

#508 in Cargo plugins

MIT/Apache

31KB
532 lines

cargo-hwhkit

cargo subcommand for the hwhkit toolkit.

Install

cargo install cargo-hwhkit

Commands

  • cargo hwhkit init [--template minimal-api] — scaffold a new service from a template (config/, src/, default features wired).
  • cargo hwhkit migrate {create,list,run,revert} — manage sqlx migrations under the path declared in [integrations.sql.postgres.migrations].
  • cargo hwhkit dev — bring up the local dependency stack (Postgres, Redis, …) via docker-compose for development.

Run cargo hwhkit --help for the full command set.

License

MIT OR Apache-2.0

Dependencies

~3.5–7MB
~117K SLoC