Rust (Axum)
Quick start
Section titled “Quick start”tinkerise backend rust my-rust-service --no-gitWhen to use
Section titled “When to use”Use rust when you want a high-performance backend service scaffolded around Axum patterns.
Prerequisites
Section titled “Prerequisites”- Rust
rustc >=1.78 cargo-generateinstalled throughcargo install cargo-generate
First run after scaffold
Section titled “First run after scaffold”cd my-rust-servicecargo checkcargo runUnified flags
Section titled “Unified flags”--no-git->--init
Framework-specific behavior
Section titled “Framework-specific behavior”- tinkerise delegates to
cargo generate. - Two-level prerequisite checks validate Rust runtime plus cargo-generate.
- Passthrough args are supported.
--no-gitmaps tocargo generate --initwhen you want to avoid repository initialization.- You can pass template-specific native args directly to control generation details.
Generated output
Section titled “Generated output”You get a Rust web-service template (Axum-oriented) generated through cargo-generate, typically including:
Cargo.tomland lockfile-ready dependency setupsrc/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
Related enhancements
Section titled “Related enhancements”- Dockerized Rust services:
/guides/enhancements/docker/ - Environment templates for service config:
/guides/enhancements/env/ - CI checks for Rust builds:
/guides/enhancements/ci/
See full command flags
Section titled “See full command flags”See full CLI flags: /reference/commands/