Skip to content

Rust (Axum)

Terminal window
tinkerise backend rust my-rust-service --no-git

Use rust when you want a high-performance backend service scaffolded around Axum patterns.

  • Rust rustc >=1.78
  • cargo-generate installed through cargo install cargo-generate
Terminal window
cd my-rust-service
cargo check
cargo run
  • --no-git -> --init
  • tinkerise delegates to cargo generate.
  • Two-level prerequisite checks validate Rust runtime plus cargo-generate.
  • Passthrough args are supported.
  • --no-git maps to cargo generate --init when you want to avoid repository initialization.
  • You can pass template-specific native args directly to control generation details.

You get a Rust web-service template (Axum-oriented) generated through cargo-generate, typically including:

  • Cargo.toml and lockfile-ready dependency setup
  • src/ structure with router and server entrypoint files
  • Config and middleware starter patterns from the selected template
  • Project layout ready for cargo check, cargo run, and iterative development

See full CLI flags: /reference/commands/