Docs / Ecosystems

Open documentation actions

Rust

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

Rust projects use Cargo and language-native templates. Choose Rust options for backend services, CLIs, GraphQL/gRPC, WebAssembly frontends, logging, caching, and auth helpers.

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 \  --rust-realtime tokio-tungstenite \  --rust-message-queue lapin \  --rust-observability opentelemetry \  --rust-templating askama \  --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 uuid chrono reqwest config dashmap parking-lot secrecy tokio-util utoipa validator jsonwebtoken argon2 tokio-test mockall proptest insta none
Loggingtracing env-logger none
Error handlinganyhow-thiserror eyre none
Cachingmoka redis none
Authoauth2 torii none
Realtimetokio-tungstenite none
Message queuelapin none
Observabilityopentelemetry none
Templatingaskama tera 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.