Skip to content

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

@NotAProfDev

Description

@NotAProfDev

Summary

Replace the .cargo/config.toml alias table with a Justfile using just — a cross-platform command runner widely used in the Rust ecosystem.

Motivation

Cargo aliases only support cargo subcommands. Chaining commands (e.g. cargo ci = lint + test + deny) requires shell escaping via !, which is an unimplemented feature request (rust-lang/cargo#6575). The existing ci and setup aliases are silently broken as a result.

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

Scope

  • Delete .cargo/config.toml — all aliases migrate to Justfile
  • Create Justfile with recipes: setup, check, lint, test, deny, ci
  • Install just via apt-get in postCreateCommand
  • Replace git config core.hooksPath .githooks in postCreateCommand with just setup

Acceptance criteria

  • just ci runs clippy, tests, and deny in sequence and fails fast on first error
  • just setup configures git hooks
  • Devcontainer installs just automatically on creation

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions