Axum (Rust) on Kubernetes
Rust web services on Tokio, with SQLx migrations.
larakube axum:newaxum:new writes a Rust web service on Axum and the Tokio runtime, with SQLx for compile-time-checked queries and the services you pick.
axum:new creates the app and its Kubernetes manifests, but there's no production image for it yet: it warns No production image template for Axum (Rust) yet and skips the Dockerfile. With no image, larakube up has nothing to run and cloud:deploy has nothing to ship. NestJS is the first framework through this path, and the rest follow one at a time.
🚀 Create a project
larakube axum:new api
Rust has no official web-project generator, so LaraKube CLI writes the starting files itself, including Cargo.toml, then asks:
| Choice | Options | With --fast |
|---|---|---|
| Database (through SQLx) | PostgreSQL (recommended), MySQL, MariaDB | PostgreSQL |
| Cache | Redis (recommended, via redis-rs), Memcached | Redis |
| Object storage | None, MinIO (recommended), SeaweedFS, Garage | MinIO |
| Search | None, Meilisearch, Typesense | None |
🧱 What your app is set up for
| Piece | Detail |
|---|---|
| Server | Axum on Tokio, listening on port 8080 |
| Migrations | sqlx migrate run — set up in the project, not yet run on deploy |
| Health check | /healthz |
🏘️ Plex Commons
Axum apps will join the shared Plex Commons for their database, cache and storage once this scaffolder is verified.