AI & Backend·June 17, 2026·5 min read

BuildX — Rust App Generator

Rust 2024 Axum 0.8 API with Utoipa OpenAPI & automated zip bundling.

BuildX — Rust App Generator
Framework
Axum 0.8 + Tokio
Docs
Utoipa Swagger
Output
Zip Bundle Stream
Frontend
BuildX-Frontend

Pipeline & core implementation

Architecture Pipeline
Prompt / SpecAxum APICodegenZip Bundle
What broke first: Blocking file writes during archive assembly stalled Tokio worker threads; moving zip creation onto spawn_blocking restored concurrent request throughput.
Cargo.toml · TOML
[dependencies]
axum = "0.8"
tokio = { version = "1", features = ["full"] }
utoipa = { version = "5", features = ["axum_extras"] }

Why Axum 0.8 & Utoipa

BuildX separates club workflows and automated full-stack scaffolding into a Rust Edition 2024 backend (BuildX-Backend) paired with a Vite/React dashboard (BuildX-Frontend). Using Axum and Utoipa keeps HTTP handlers strongly typed while auto-generating OpenAPI Swagger schemas directly from Rust structs.

Non-blocking zip assembly on Tokio

Scaffolding dozens of template files and compressing them synchronously inside async handlers starved Tokio executor threads under load tests. Offloading archive creation onto tokio::task::spawn_blocking and streaming bytes back fixed request tail latency.

What remains: sandboxed build runner & hosting

Core backend scaffolding endpoints and the BuildX Overview dashboard work locally. Remaining items before public launch are isolated sandbox containers for user-generated previews and production deployment.

Measured benchmarks

Archive bundle build~18 msTokio asyncNon-blocking zip stream

Project status & checklist

○ Needs work
Done
  • Rust 2024 Axum 0.8 API with Utoipa Swagger documentation
  • Non-blocking zip scaffold bundler via Tokio spawn_blocking
  • BuildX React Overview & Matchmaker dashboard UI
Needs to be done
  • Add isolated Docker/container preview sandbox for generated bundles
  • Deploy BuildX backend + PostgreSQL store to production host