Rust

Rust backend, CLI, WebAssembly frontend, GraphQL, gRPC, database, logging, caching, and auth scaffolds.

Open documentation actions

Rust projects use Cargo and language-native templates. TypeScript-only web, UI, package-manager, and example categories should not be treated as Rust scaffold support.

Prerequisites

  • Rust toolchain and Cargo.
  • Git if you want repository initialization.

Scripted example

npm create better-fullstack@latest my-rust-api -- \
  --ecosystem rust \
  --rust-web-framework axum \
  --rust-orm sqlx \
  --rust-libraries serde validator \
  --rust-logging tracing \
  --rust-error-handling anyhow-thiserror \
  --rust-api none \
  --rust-frontend none \
  --rust-cli none \
  --rust-caching none \
  --rust-auth none \
  --ai-docs none \
  --version-channel stable \
  --no-install \
  --no-git

Rust categories

CategoryValues
Web frameworkaxum actix-web rocket none
Frontendleptos dioxus none
ORMsea-orm sqlx diesel none
APItonic async-graphql none
CLIclap ratatui none
Librariesserde validator jsonwebtoken argon2 tokio-test mockall none
Loggingtracing env-logger none
Error handlinganyhow-thiserror eyre none
Cachingmoka redis none
Authoauth2 none

Generated behavior

  • cargo build is the install/verification path when install is enabled.
  • Leptos, Dioxus, Tonic, Clap, and Ratatui template files are included only when their matching options are selected.
  • rustLibraries is multi-select; pass none or omit libraries you do not want.
  • AI instruction files are still available through --ai-docs, including --ai-docs none.