ARCHE
FamiliesDocsExamplesBlogGitHub ↗
Documentation

Start

  • Getting started
  • Philosophy

Guides

  • First hour
  • Agent context
  • Verification
  • Package managers
  • Scaffold lifecycle
  • Showcase & portfolio

Walkthroughs

  • TypeScript fullstack
  • Convex product
  • Rust API & fullstack
  • Solana family
  • Customize & experiments
  • Automation (JSON/MCP)

CLI

  • Overview
  • Flags
  • Subcommands
  • Generated output

Presets

  • Preset catalog

Stack

  • TypeScript architecture
  • Convex
  • Rust
  • Solana
  • Authentication
  • Prisma store
  • tRPC

Operations

  • Deployment
  • Environment variables
  • Workers & queues
  • CI & testing
  • Scaling
  • Security
  • Troubleshooting

Reference

  • Stack links
  • Capabilities
  • This source repo
  • Code examples
← Documentation

Rust walkthrough

Scaffold rust-api or rust-fullstack presets with Axum, Cargo workspaces, and quality gates.

1 min read

Arche ships two Rust routes:

PresetShape
rust-apiAxum API + Cargo workspace, SQLx-ready
rust-fullstackNext.js + Axum API, Clerk/JWT auth boundary

Both are Requires validation in the registry.

Scaffold API-only

terminal
bun run dev:cli -- my-api --yes --preset=rust-api --dir=../projects

Scaffold fullstack

terminal
bun run dev:cli -- my-product --yes --preset=rust-fullstack --dir=../projects

Verify

terminal
cd ../projects/my-api
cargo check
cargo test
# or monorepo scripts from generated package.json / AGENTS.md

Generated trees include rustfmt / clippy hooks when CI is enabled (--ci).

Architecture

Read Rust architecture for how the web and API boundaries connect in rust-fullstack.

Common failures

SymptomFix
SQLx compile errors without DBUse offline sqlx-data.json or set DATABASE_URL for prepare
Wrong auth packageFullstack uses JWT/Clerk boundary—not Better Auth from TS preset
Missing toolchainInstall stable Rust via rustup

Next steps

  • Rust architecture
  • Rust & Axum docs
  • Preset catalog