Skip to content

feat: add just task runner, remove .cargo/config.toml#8

Merged
NotAProfDev merged 1 commit into
mainfrom
feat/7-just-task-runner
May 25, 2026
Merged

feat: add just task runner, remove .cargo/config.toml#8
NotAProfDev merged 1 commit into
mainfrom
feat/7-just-task-runner

Conversation

@NotAProfDev
Copy link
Copy Markdown
Owner

Description

Replaces the .cargo/config.toml alias table with a just task runner. Cargo's !-prefix shell-escape feature (needed to chain commands in aliases) is an unimplemented feature request in stable Cargo (rust-lang/cargo#6575) — the existing ci and setup aliases were silently broken as a result.

just is already the standard in the Rust ecosystem (tokio, axum, embassy, etc.) and solves this cleanly.

Related Issue

Closes #7

Changes

  • Add Justfile with six recipes: setup, check, lint, test, deny, and ci
    • just ci — chains lint, test, deny (fails fast on first error)
    • just setup — configures git hooks (replaces the broken cargo alias)
    • just (no args) — lists all available recipes
  • Delete .cargo/config.toml — all aliases fully migrated; file is no longer needed
  • Update .devcontainer/devcontainer.json
    • Add just to the apt-get install line
    • Replace bare git config core.hooksPath .githooks with just setup

Checklist

  • Tests added or updated
  • just ci passes locally
  • Documentation updated (README, rustdoc, examples)
  • CHANGELOG.md updated (if user-facing change)
  • This PR introduces no breaking changes (or describe them below)

- Add Justfile with setup, check, lint, test, deny, and ci recipes
- Delete .cargo/config.toml (aliases migrate to Justfile; cargo's
  shell-escape prefix '!' is unimplemented in stable — see
  rust-lang/cargo#6575)
- Install just via apt in devcontainer postCreateCommand
- Replace bare 'git config' call with 'just setup' in postCreateCommand

Closes #7
@NotAProfDev NotAProfDev merged commit e04eded into main May 25, 2026
2 checks passed
@NotAProfDev NotAProfDev deleted the feat/7-just-task-runner branch May 25, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add just task runner, remove .cargo/config.toml

1 participant