cargo-rustango 0.8.0

`cargo rustango new <name>` — Django-style project scaffolder for the rustango framework.
cargo-rustango-0.8.0 is not a library.

cargo rustango new <name> — Django-style project scaffolder.

Cargo invokes external subcommands by spawning a binary called cargo-rustango and passing rustango as the first argv. We strip that prefix and dispatch to a verb handler:

$ cargo rustango new myapp --template fullstack $ cargo rustango new api_demo --template api $ cargo rustango new shop --template tenant

The three templates correspond to the three rustango shapes:

  • api — bare ORM + axum, no admin. For JSON-only services.
  • fullstack — ORM + auto-admin (the default; matches the v0.7 README quickstart).
  • tenant — multi-tenancy enabled, operator console wired, tenancy_manage CLI scaffolded into src/bin/manage.rs.

Each template writes a self-contained Cargo project into <cwd>/<name>/:

/ Cargo.toml .env.example docker-compose.yml migrations/ src/ main.rs models.rs views.rs urls.rs src/bin/manage.rs

Once written, the user typically runs:

$ cd && docker compose up -d $ cargo run --bin manage -- migrate $ cargo run