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-gitRust categories
| Category | Values |
|---|---|
| Web framework | axum actix-web rocket none |
| Frontend | leptos dioxus none |
| ORM | sea-orm sqlx diesel none |
| API | tonic async-graphql none |
| CLI | clap ratatui none |
| Libraries | serde uuid chrono reqwest config dashmap parking-lot secrecy tokio-util utoipa validator jsonwebtoken argon2 tokio-test mockall proptest insta none |
| Logging | tracing env-logger none |
| Error handling | anyhow-thiserror eyre none |
| Caching | moka redis none |
| Auth | oauth2 torii none |
| Realtime | tokio-tungstenite none |
| Message queue | lapin none |
| Observability | opentelemetry none |
| Templating | askama tera none |
Generated behavior
cargo buildis 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.
rustLibrariesis multi-select; passnoneor omit libraries you do not want.- AI instruction files are still available through
--ai-docs, including--ai-docs none.