NEWHardening and a complete API contract shipped

Ship your SaaS in Rust. The boring parts are already built.

LaunchCrate is a Rust SaaS starter kit: an Axum and SQLx API with a React web app, already wired for organizations, roles, single sign-on, billing, background jobs and an admin panel. One binary and a Postgres: ship it anywhere Docker runs, with a fly.toml ready to go.

Get LaunchCratejust setup && just dev
  • Rust
  • Postgres 17
  • React 19
~/acme — zsh

Terminal session: just setup starts Postgres and applies 42 migrations, just dev serves the API and the web app, and just test-api passes 508 tests.

Release gate · Nov 15, 2026 · passed

  • 508API tests
  • 106browser tests
  • 42migrations applied
  • clippy, dependency and license audit

01 / WHAT'S IN THE CRATE

Every boring, critical piece of a Rust SaaS. Done properly.

Opinionated where it saves you time, plain Rust everywhere else. No framework lock-in — it's your code from the first commit.

  • axum · sqlx · openapi

    Checked at compile time

    SQLx checks every application query against your schema at build time. Typed ids, one error envelope, and a complete OpenAPI spec the SPA’s types are generated from.

  • orgs · roles · invites

    Multi-tenancy

    Organizations, invitations and seat limits. Every query is scoped by org, and every guard asks one permission catalog, custom roles included.

  • sso · scim · passkeys

    Enterprise sign-in

    OpenID Connect single sign-on with DNS-verified domains, SCIM provisioning, passkeys, TOTP two-factor, magic links, Google and GitHub.

  • stripe · paddle · polar · lemon squeezy

    Billing

    Four providers behind one trait. Per-seat plans, yearly prices, coupons, one-time purchases, idempotent webhooks, payment-failed emails, and usage billing on Stripe, Paddle and Polar.

  • queue · schedules · retries

    Background jobs

    A Postgres queue with retries, backoff, dead letters and scheduled tasks, claimed with FOR UPDATE SKIP LOCKED. In the same process; no Redis.

  • audit · webhooks · api keys

    Built for integrations

    An audit log, signed webhooks with retries and a delivery log, scoped and expiring API keys, and an MCP server for AI assistants.

  • /admin

    Operator panel

    Every user and organization in one place: disable accounts, change roles, impersonate with a recorded trail, and watch sign-ups and conversion.

  • env · fail fast

    Config that checks itself

    Refuses to boot on a missing variable, a weak JWT secret, https without secure cookies or half-configured billing. Mistakes fail the deploy, not production.

The full manifest

72 items across 8 modules, all in the repo today

[auth] 11

Sign-in and accounts

  • Email and password sign-in
  • Email verification
  • Password reset
  • Magic links
  • Passkeys
  • Authenticator-app two-factor
  • Two-factor recovery codes
  • Google and GitHub sign-in
  • Account lockout with an emailed unlock
  • Browser sessions, JWTs and refresh tokens
  • Data export and account deletion

[orgs] 8

Organizations

  • Row-level tenant isolation
  • Owner, admin and member roles
  • Custom roles
  • Invitations
  • Seat limits
  • Required two-factor per organization
  • IP allowlists
  • Organization data export

[enterprise] 7

Enterprise

  • OpenID Connect single sign-on
  • DNS-verified email domains
  • SCIM 2.0 users and groups
  • Okta and Entra ID provisioning
  • Audit log, partitioned by month
  • Superadmin panel
  • Impersonation with a recorded trail

[billing] 11

Billing

  • Stripe, Paddle, Polar and Lemon Squeezy
  • Per-seat plans
  • Monthly and yearly prices
  • Free trials
  • Promotion codes
  • One-time purchases
  • Usage billing
  • Prorated plan changes
  • Plan entitlements
  • Payment-failed emails
  • Idempotent provider webhooks

[api] 8

API and integrations

  • OpenAPI 3.1 spec and interactive docs
  • Generated TypeScript types
  • Scoped, expiring API keys
  • Signed outbound webhooks
  • Webhook retries and delivery log
  • MCP server for AI assistants
  • OAuth 2.1 for MCP clients
  • AI chat with a token allowance

[jobs] 6

Jobs, email and files

  • Postgres job queue, no Redis
  • Retries, backoff and dead letters
  • Scheduled tasks
  • Queued email through Resend
  • In-app notifications, emailed when they matter
  • S3 or local-disk uploads by presigned URL

[ops] 11

Operations

  • One binary, one Docker image
  • Migrations at boot
  • fly.toml and a deployment guide
  • Config checked before boot
  • Per-IP rate limits
  • Security headers
  • Structured logs and request ids
  • OpenTelemetry traces
  • Sentry error tracking
  • Server-side product analytics
  • PgBouncer support

[tooling] 10

Code and tooling

  • Compile-time-checked SQL
  • Typed ids
  • A test that keeps the spec complete
  • API and browser test suites
  • Dependency and license audit in CI
  • English and French text catalogs
  • Markdown blog with RSS
  • AGENTS.md and skills for AI agents
  • Module generator
  • Rerunnable benchmark script

02 / ARCHITECTURE

One binary. One Postgres. Nothing exotic.

A layered monolith that's easy to reason about on day one and easy to split on day 500.

CLIENTS

Browser
API clients
AI assistants · MCP

ACME BINARY

tower layersrequest id · CORS · CSP · rate limits
web app
/api
/blog
domainorgs · billing · sso · audit
http:8080
workerjobs · schedules

INFRA

Postgresdata · sessions · job queue
EmailResend
FilesS3 · R2 · MinIO

03 / CODE TOUR

Read the Axum and SQLx code before you buy it.

Handlers that read like the spec

A handler names the permission it needs and hands off to the service. Every route is described in the OpenAPI spec the build keeps honest.

pub(crate) async fn list(    State(state): State<AppState>,    auth: AuthUser,    Path(org_id): Path<OrgId>,) -> Result<Json<Vec<Upload>>> {    orgs::require_permission(&state.db, org_id, auth.user_id, Permission::UseFiles).await?;    Ok(Json(service::list(&state, org_id).await?))}

04 / FOR AI AGENTS

Hand it to your coding agent.

The code, tests and guides are already written, and the repo tells an agent how to keep going in the same style.

880,000+tokens of code, tests and docs written to build it

  • AGENTS.md ×4

    One briefing at the root and one each for api/, web/ and e2e/: the commands, the rules, and which docs page to read before touching each area. CLAUDE.md files point to them.

  • .claude/skills/

    Step-by-step recipes for the changes you make most: add-endpoint, add-migration, add-permission, add-payment-provider and add-browser-test.

  • just new-module

    Scaffolds a domain module in the house shape, so new code starts where the agent expects to find it.

  • llms.txt

    The docs as one file for assistants, rebuilt from the same sources. A check fails the build if it goes stale.

  • scripts/gate.sh

    Compile-time SQL, typed ids, a spec test and 600+ tests catch an agent’s mistakes before you review them.

05 / PERFORMANCE

Smaller bills. Fewer pages at 3am.

On a MacBook Pro M1 Pro, a release build serves 10,731 signed-in requests a second, idles at 25 MB and stays under 100 MB at peak. Every number comes from bench/run.sh in the repo.

signed-in requests
10,731req/s
memory when idle
25MB
boot
255ms
Requests / sec · release build, rate limiting onhigher is better
  • Health check · one query19,951
  • Signed-in user · JWT18,535
  • Signed-in user · browser session10,731
  • Org members · API key, metered7,409

Release build · MacBook Pro M1 Pro · Postgres 17 and wrk (100 connections) on the same machine · rate limiting on. Rerun it with bench/run.sh.

06 / PRICING

Pay once. Build as many products as you like.

No subscriptions and no runtime phone-home: you own the code you ship. Launch prices until January 14, 2027.

Launch pricing until January 14, 2027

  • Solo saves $100
  • Team saves $150
  • Agency saves $400

SOLO

$149

one-time · plus tax · launch price until Jan 14, 2027, then $249

  • 1 developer
  • The whole starter, every feature
  • CRM, task tracker and feedback board demos
  • Unlimited products of your own
  • Lifetime updates
  • Private repo + GitHub Discussions

AGENCY

$799

one-time · plus tax · launch price until Jan 14, 2027, then $1,199

  • Everything in Team
  • Unlimited developers
  • Products built for clients
  • A private support channel for your team

Prices in USD, plus tax where it applies. 14-day money-back guarantee: refund policy.

·

Where should we send the code?

Right after payment, GitHub emails this account an invitation to the private repository.

Payment is handled by Paddle, our reseller. Tax is added at checkout.

07 / CHANGELOG

Shipped

  1. Nov 18
    Live demosThe CRM, the task tracker and the feedback board, each running on its own server. Press Try it now for an account of your own, filled with sample data and deleted after a day. No sign-up.CRM ↗Task tracker ↗Feedback board ↗
  2. Nov 15
    Hardening and a complete API contractMonthly partitions for the audit log, fewer queries per request, PgBouncer support, one error envelope everywhere, and an OpenAPI spec a test keeps complete.
  3. Oct 28
    Benchmarks you can rerunbench/run.sh measures the release build. API-key metering moved off the hot path: twice the throughput.
  4. Oct 27
    SCIM provisioning and demo productsOkta and Entra ID provision users and groups. A CRM, a task tracker and a feedback board built on the starter.
  5. Oct 26
    AI chat, MCP and security policiesStreamed AI chat with a token allowance, an MCP server, required two-factor and IP allowlists.

ROADMAP

Next

  • Q4 2026Latency benchmarks at a fixed request rate

08 / FAQ

Rust SaaS starter kit FAQ

LaunchCrate is a Rust SaaS starter kit: an Axum and SQLx API on Postgres with a React web app, shipped as one binary. It comes with organizations and roles, single sign-on with SCIM, passkeys and two-factor, billing through Stripe, Paddle, Polar or Lemon Squeezy, a Postgres job queue, signed webhooks, API keys, an audit log and an admin panel. You pay once and get the source.

Start on the product this week.

Get the Rust SaaS starter kitjust setup && just dev

Know a team about to write auth and billing from scratch? Send them this.

launchcrate.dev