Three Rust web frameworks. Checked facts.
Rullst, Loco and Topcoat,
what each one chose and what it costs.
All three build web applications in Rust on Tokio, and each one is the better fit for some projects. For every topic this page says in plain words what it is, then what each framework chose, the advantage of that choice and its cost. The choice comes from each project's own documentation; where a project does not document something, the page says so instead of guessing. The advantage and the cost are the author's reading of that choice, not a measurement.
Checked on against Rullst 13.0.0-rc.1 (the source on main), Loco loco-rs 1.3.1 and Topcoat topcoat 0.12.1, the latest release of each that day. Loco's documentation website still showed its 1.2.0 pages that day, so what concerns sessions, OAuth and notifications comes from the 1.3.1 sources in its repository. Rullst's maintainer wrote this page. If a fact is wrong or out of date, please open an issue.
- Where each fits
- Rendering
- Database
- Security
- Jobs
- Payments
- Admin
- CLI
- Deployment
- Stability
- Community
- Performance
Where each one fits
The table sums up what the topics below document, and the cards say when each framework is the better choice. Not documented means the project's documentation does not describe it; you can still add it yourself.
At a glance: what each framework documents, checked on 27 November 2026.
| You need | Rullst | Loco | Topcoat |
|---|---|---|---|
| CSRF protection | On in every generated starter | Not documented | An origin check, on by default; CSRF tokens are not documented |
| Secure headers | On in every generated starter | Available, off by default | Not documented |
| Filter for hostile requests (WAF) | On: refuses them in staging and production, only logs them in development, off in tests | Not documented | Not documented |
| User accounts and passwords | Argon2 and encrypted sessions; opt-in passkeys and OAuth2/OIDC | JWT and Argon2id; opt-in sessions and OAuth2 | Sessions with storage you provide; authentication is on its roadmap, password hashing is not documented |
| Payments and their webhooks | Stripe (signed webhooks, replay checks) and InfinitePay for Pix and credit card (each notification confirmed with InfinitePay) | Not documented | Not documented |
| Admin for your data | Generated for the models you register (Nexus) | Not documented | Not built in (an admin demo app exists) |
| Background jobs | In-process, SQLite or Redis queues and a cron scheduler; retries and dead-letter queues in rullst-messaging | In-process, Redis, PostgreSQL or SQLite, with a scheduler | On its roadmap |
| Mail services | Resend, AWS SES, SendPulse, SMTP | SMTP | SMTP |
| Databases | SQLite, PostgreSQL, MySQL/MariaDB | SQLite, PostgreSQL | SQLite, through Toasty |
| Browser behaviour written in Rust | No: htmx and Alpine.js | No: Tera templates, or a React SPA | Yes: $(...) expressions become JavaScript |
| Stable release | Not yet: 13.0 is in release candidates | Yes: 1.x since July 2026 | No: 0.x, which its README calls experimental |
| Community | The smallest of the three; one maintainer | The largest of the three | Growing, in the tokio-rs organization |
Choose Rullst when
- you want to ship an app with sign-in and forms without spending days wiring baseline security: CSRF protection and secure headers are on from the first commit, a WAF blocks suspicious requests in staging and production, and a generated test verifies them;
- you need to charge customers without writing sensitive payment plumbing from scratch: Stripe (signed webhooks and replay checks) and Pix and credit card through InfinitePay (each payment confirmed with InfinitePay) are built in;
- staff need a ready-made admin panel over your application's data (Nexus) instead of spending weeks building internal screens;
- you want database and mail flexibility without switching frameworks: SQLite, PostgreSQL and MySQL/MariaDB, plus transactional mail through Resend, SMTP, AWS SES or SendPulse (the last two tested offline only);
- you prefer staying in Rust without maintaining a separate Node.js/npm client build: server-rendered pages with
html!(auto-escaping text to help prevent script injection) and htmx plus the CSP build of Alpine.js already wired.
Keep in mind: 13.0 is still a prerelease, the project was first published in May 2026 by its sole maintainer, it has had no external audit, and every request pays for those security layers (see Performance).
Choose Loco when
- you need a stable 1.x release today;
- you want Rails-style conventions and generators for models, scaffolds, workers and deployment files;
- you prefer Sea-ORM, or JWT authentication for API clients;
- you want job queues on PostgreSQL as well as Redis or SQLite, and the largest community of the three.
Keep in mind: payments, an admin UI and CSRF protection are not part of its documentation, and its secure headers stay off until you enable them.
Choose Topcoat when
- you want browser behaviour written in Rust: its
$(...)expressions run in the browser as generated JavaScript, with no Wasm bundle and no client build step; - you want strict session cookies and a cross-origin check on by default, or OpenAPI generation for your API;
- you want a small framework maintained in the tokio-rs organization.
Keep in mind: its README calls it early-stage and experimental; authentication and background jobs are on its roadmap, and so are its deployment docs.
- you want browser behaviour written in Rust: its
Topic by topic
Rendering model
In plain words: how a page reaches the browser: as finished HTML built on the server, or as a program that builds the page in the browser. It decides how much JavaScript you write and ship.
- Rullst
ChoseServer-rendered HTML from the
html!macro, escaped by default, with htmx and the CSP build of Alpine.js for interactivity. No client bundle by default.AdvantageYou build the interface in Rust without maintaining Node.js, npm or a separate frontend build; pages arrive lightweight and ready to render (working with little or no JavaScript), and automatic escaping blocks common script-injection (XSS) attacks on user input unless you explicitly mark content as trusted.
CostRich in-browser behaviour beyond htmx and Alpine is more work, and rendering long lists with
html!is one of the 13.1 performance targets.- Loco
ChoseServer templates with Tera 2 behind a swappable renderer. Also a client-side SPA mode (React) and an option to embed assets in the binary.
AdvantageA familiar template language, and a choice between server pages and a React SPA when you create the project.
CostA React SPA needs its own JavaScript tooling, so the two styles are a decision to make early.
- Topcoat
ChoseServer rendering with the
view!macro and async components.$(...)expressions are type-checked Rust, also translated to JavaScript for reactivity in the browser, with no Wasm bundle and no client build step. Optional htmx, Alpine AJAX and Datastar integrations.AdvantageBrowser behaviour written in Rust, without a separate client build.
CostIts README calls it early-stage and experimental: expect breaking changes.
Database and ORM
In plain words: most applications keep their data in a database. An ORM maps tables to Rust types so you write less SQL, and the databases it supports decide where you can run.
- Rullst
ChoseIts own ORM (
#[derive(Orm)]) on SQLx for SQLite, PostgreSQL and MySQL/MariaDB, withSchemamigrations. Turso/libSQL, SurrealDB and Redis data structures through separate adapters.AdvantageYou model data as Rust structs with one ORM and one migration system — start simple on SQLite locally and move to PostgreSQL or MySQL/MariaDB without switching frameworks, backed by parameterized SQLx queries that prevent SQL injection by default.
CostAn ORM written for Rullst rather than an established third-party one, so you learn its API, and it has one maintainer.
- Loco
ChoseSea-ORM 2.0 with migrations. Loco 1.3.1 has database driver features for SQLite and PostgreSQL (
db-sqlite,db-postgres).AdvantageIt builds on an ORM that is a project of its own.
CostMySQL has no driver feature in Loco 1.3.1, although Sea-ORM itself supports it.
- Topcoat
ChoseNo ORM in the
topcoatcrate.topcoat new --database toastygenerates an app that uses Toasty on SQLite, with Toasty's migrations.AdvantageA new project starts with a database layer and migrations already wired.
CostDocumented only for SQLite through Toasty; better Toasty integration is on its roadmap.
Authentication and security defaults
In plain words: hashing stores passwords so a stolen database does not reveal them (Argon2 is a deliberately slow one). An encrypted session means a stolen cookie cannot be read or changed. A passkey replaces the password with a key on your device. RBAC lets roles decide who may do what, and OAuth2/OIDC is "sign in with Google". Secure headers, CSRF protection and a WAF (a filter for hostile requests) block common attacks. A protection that is on for every request also costs time on every request.
- Rullst
ChoseArgon2 password hashing and encrypted sessions in
rullst-auth; passkeys, RBAC and OAuth2/OIDC sign-in when you need them. In every generated starter,Servermounts secure headers and double-submit CSRF protection in every environment, and a WAF that refuses suspicious requests in staging and production and only logs them in development (it does not run in the test environment);rullst-securityadds a login jail and more layers.AdvantageYou do not have to assemble baseline web security by hand: every generated app starts with secure headers, CSRF protection and a WAF wired in, plus a generated test that catches accidental regressions — and password login, passkeys, RBAC and OAuth2/OIDC ship in the same coordinated release.
CostEvery request pays for them, which lowers throughput (see Performance). One maintainer, no external audit, and the authorization rules of your application stay yours.
- Loco
ChoseJWT by default, with Argon2id hashing and API keys. Opt-in sessions, kept in a signed or encrypted cookie or, since 1.3.0, in a database or Redis store with remember-me, and OAuth2 with GitHub and Google presets. Secure-headers middleware (presets such as
githubandowasp) exists but is disabled by default; CSRF middleware is not documented. On by default: a payload limit, panic catching, ETag, request ids, logging, anX-Powered-Byheader and, outside production, a fallback page.AdvantageStateless tokens suit API clients, and secure headers have ready presets you can switch on.
CostSecure headers stay off until you enable them, and no CSRF protection or WAF is documented, so an application that uses cookie sessions adds its own.
- Topcoat
ChoseSession tokens with storage you provide (sign-in and sign-out, sliding expiration and token rotation), in
__Host-, Secure, HttpOnly, SameSite=Lax cookies. A default origin policy rejects cross-origin state-changing requests. Authentication is on the roadmap; password hashing, secure headers and CSRF tokens are not documented.AdvantageStrict cookie settings and an origin check that is on by default, in a small surface.
CostNo user accounts or password handling yet: you bring the session storage, the password handling and the headers. The origin policy does not protect a state-changing GET request.
Background jobs
In plain words: work that should not make a visitor wait, such as sending email or running a nightly task. A queue stores these jobs and runs them in the background, retrying when one fails.
- Rullst
ChoseQueues in
rullst-core(in-process, SQLite and Redis).rullst-messagingadds retries, dead-letter queues, an outbox relay and Redis Streams messaging.AdvantageSlow work (like sending email or calling external APIs) runs off the request path so visitors do not wait, works right away with no extra infrastructure (in-process or SQLite), and with
rullst-messagingadds automatic retries and dead-letter queues so failing jobs are preserved for inspection instead of disappearing.CostRedis Streams is the only remote broker adapter, and the outbox relay does not make the database and the broker one atomic transaction.
- Loco
ChoseQueues on Redis, PostgreSQL or SQLite, in-process modes, and a cron-like scheduler.
AdvantageA scheduler for recurring jobs, and a choice of three queue stores.
CostOther brokers are not documented.
- Topcoat
ChoseNot built in. Background jobs are on the roadmap.
AdvantageNothing to configure if you need no jobs.
CostBring your own queue, or wait for the roadmap item.
In plain words: password resets and receipts are email. A mail engine fills a template and hands the message to a sending service.
- Rullst
Chose
rullst-mail: templated mail through Resend, AWS SES, SendPulse or SMTP, delivered in the background, with recipient suppression and a conformance kit for your own transport.AdvantageYou integrate email once and can switch providers (Resend, SMTP, AWS SES or SendPulse) through configuration instead of rewriting code; recipient suppression stops repeat sends to blocked or opted-out addresses, and staging/production fail closed if a provider key is missing instead of silently faking delivery.
CostResend and SMTP are used by the maintainer's production applications; AWS SES and SendPulse have only been tested offline.
- Loco
ChoseA built-in SMTP mailer that sends through the job queue, with a stub mode for tests. An opt-in notifications feature adds Slack and webhooks.
AdvantageMail goes through the job queue, and the stub makes tests easy.
CostSMTP is the transport documented for real delivery.
- Topcoat
ChoseAn opt-in mail feature with SMTP, file (.eml) and in-memory transports.
AdvantageThe file and in-memory transports let you test mail without sending any.
CostSMTP is the only one of the three that sends real mail.
Payments and billing
In plain words: charging customers, receiving the payment provider's notifications (webhooks) safely, and tracking what each customer may use.
- Rullst
Chose
rullst-capital: Stripe and InfinitePay adapters, verified webhooks with replay protection, quotas, entitlements and invoices.AdvantageSaves weeks of sensitive billing code where bugs cost money: Stripe integration (verified webhook signatures and replay protection) and Pix and credit card via InfinitePay (confirmed directly with InfinitePay) come ready to use, alongside quotas, entitlements and minor-unit invoices that avoid rounding errors.
CostStripe has real purchases in the maintainer's SaaS but no automated test against a live account; InfinitePay was validated with a real Pix payment and a real credit card payment. Another gateway means writing an adapter.
- Loco
ChoseNot documented.
AdvantageNo payment code in the framework: use any provider's own library.
CostYou build and secure the integration, webhooks included.
- Topcoat
ChoseNot documented.
AdvantageNo payment code in the framework: use any provider's own library.
CostYou build and secure the integration, webhooks included.
Admin and observability
In plain words: an admin screen lets staff edit data without code. Observability is how you see what the running application is doing: logs, health checks and traces.
- Rullst
ChoseNexus, an admin generated for registered models; Studio, a local developer control room; OpenTelemetry export for distributed traces, tested in CI against an OpenTelemetry Collector in a local container.
AdvantageStaff get a working admin panel (Nexus) as soon as you register your models, without hand-building internal CRUD screens; locally you get a live developer control room (Studio) for inspecting tables, queues, requests and security events, and production traces export in the standard OpenTelemetry format.
CostStudio is a local development tool, not a production dashboard, and the admin is one more surface to protect with roles.
- Loco
ChoseNo admin UI documented. Logging with
tracing,/_ping,/_healthand/_readinessendpoints, andcargo loco doctor.AdvantageHealth endpoints a load balancer can use, and a command that checks your setup.
CostNo admin UI: you build or add one.
- Topcoat
ChoseNo admin framework (an admin demo app exists). Logging and a built-in health endpoint are not documented (its examples write a
/api/healthroute by hand); OpenAPI generation arrived in 0.12.1.AdvantageIt can generate an OpenAPI description of your API.
CostNo admin, logging guidance or built-in health endpoint is documented.
CLI and generators
In plain words: a command-line tool creates a project and writes repetitive code (models, controllers) so that you start from a working structure.
- Rullst
Chose
cargo rullst new(Blank, API and SaaS starters) andmake:*generators for models, migrations, controllers, resources, workers, mail, billing, MFA, OAuth and more;dev,doctorand assistedupgrade.AdvantageOne command scaffolds a working Blank, API or SaaS app with tests and CI already wired, and
make:*generators speed up CRUD, login, OAuth, MFA and billing as plain Rust you own in your repo — no black box — whilecargo rullst upgradeguides version updates line by line.CostMany commands to learn, and the generated code is yours to maintain.
- Loco
Chose
loco new(server-rendered and client-rendered SaaS, REST API, lightweight and advanced templates) andcargo loco generatefor models, migrations, scaffolds, controllers, tasks, workers, mailers and deployment files.AdvantageRails-style generators for most pieces, deployment files included.
CostGenerators run only in debug builds, and
loco newhas no template flag: it asks for one unless--db,--bgand--assetsare all given.- Topcoat
Chose
topcoat new,dev,fmt,ui(copies components into the project),asset bundleandl10n check. Model or controller generators are not documented.AdvantageComponents copied into your project are code you own, and translation files can be checked.
CostYou write models and controllers by hand.
Deployment guidance
In plain words: putting the application on a machine people can reach: a build, a server, HTTPS and a way to restart it.
- Rullst
ChoseGuides for DigitalOcean, Hetzner, Oracle Cloud and Google Cloud, and a generated Dockerfile, Compose and Caddy setup. CI tests the generated VM deployment of the Blank and SaaS starters, on SQLite, with Docker and Podman on an x86_64 runner only. The maintainer's production applications, Academy, capoeira and vene.win, run on one Oracle Ampere A1 Arm machine behind a shared Caddy with Let's Encrypt certificates; no CI test runs on Arm. The provider guides were written from the providers' documentation, not followed end to end on real accounts.
AdvantageYou do not have to build deployment plumbing from scratch to go live: projects generate a Dockerfile, Compose and Caddy setup (automatic HTTPS) suited to an ordinary VPS, with a CI-tested container flow (Docker and Podman) and the same setup running the maintainer's production apps.
CostArm machines, real domains and Let's Encrypt, provider accounts, reboots and PostgreSQL or MySQL deployments are not tested in CI, and the provider guides have not been tried on real accounts.
- Loco
ChoseA release binary, plus generated Docker, nginx or AWS Lambda setups, and
loco doctorbefore going live.AdvantageGenerated deployment files, and a command that checks the setup.
CostIts CI builds the generated Docker image every night for a new SQLite application; none of its workflows runs that image or deploys the nginx or Lambda setups.
- Topcoat
ChoseDeployment docs are on the roadmap. A Cloudflare Workers example, and custom hosting through
serve()orRouter::handle.AdvantageAn example runs it on Cloudflare Workers, and you can host it in your own way.
CostNo deployment guide yet.
Stability, versioning and support window
In plain words: how much an upgrade may break your code, and for how long a version keeps receiving fixes.
- Rullst
Chose13.0 is in prerelease; 13.0.0-alpha.6 froze its features and public API, and 13.0.0-rc.1, the first release candidate (published on 26 November 2026), adds fixes, documentation and the changes the maintainer approved one by one after the freeze: two of them break the API, and others change what a working alpha.6 deployment does, such as refusing empty settings in staging and production. After 13.0.0, the maintainer intends to keep 13.x the active line for 12 months, then give it security fixes for 1 to 3 more months after 14.0.0 (an intention, not a guarantee). Semantic Versioning; MSRV Rust 1.96.
AdvantageYou get a clear maintenance plan up front (stated 12-month active window for 13.x plus follow-on security fixes), Semantic Versioning, an explicit alpha.6-to-rc.1 migration checklist and
cargo rullst upgradeto take the guesswork out of upgrading.CostNot final yet, and the window is an intention, not a guarantee.
- Loco
Chose1.0.0 (July 2026) was its first stable release. Upgrade notes list breaking changes; a semver statement and a support window are not documented. MSRV Rust 1.94.
AdvantageA stable 1.x line with upgrade notes, and an older compiler requirement than the others.
CostNo support window is documented.
- Topcoat
ChoseIts README says: early-stage and experimental, expect breaking changes. Its changelog says it follows Semantic Versioning and marks breaking changes. No support window documented. MSRV Rust 1.99.
AdvantageThe changelog marks what breaks.
CostExpect breaking changes, and it needs a very recent Rust compiler.
Maturity and community
In plain words: a bigger community means more answers, examples and people fixing bugs; a smaller one means you may be on your own.
- Rullst
ChoseFirst published in May 2026. MIT license. 21 GitHub stars and 7 contributors on 27 November 2026; two of the contributors are AI coding agents (one of them a bot account) and one is Dependabot; Rullst has one maintainer.
AdvantagePermissive MIT license (straightforward commercial use) and uncommon transparency about every package's maturity tier (Core vs. Extension) and test evidence, so you adopt based on facts instead of hidden surprises.
CostThe smallest community of the three, one maintainer who is a single point of failure, and no external audit.
- Loco
ChoseFirst release in November 2023. Apache-2.0 license. 9,675 GitHub stars and 157 contributors on 27 November 2026.
AdvantageThe largest community of the three and the longest release history.
CostIts documentation website lagged its newest release when checked (1.2.0 pages while 1.3.1 was out), so some features are documented only in the repository.
- Topcoat
ChoseRepository created in April 2026, first functional release in July 2026, in the tokio-rs GitHub organization. MIT license. 7,331 GitHub stars and 41 contributors on 27 November 2026.
AdvantageMaintained inside the tokio-rs organization, with a growing contributor base.
CostA young 0.x project.
Why not Leptos or Dioxus?
Checked on against Leptos leptos 0.8.23 and Dioxus dioxus 0.7.10, their latest stable releases that day.
Leptos and Dioxus are full-stack in a different sense: they are UI frameworks. The same Rust components can render HTML on the server and then run in the browser as WebAssembly, which hydrates that HTML, and server functions let the browser call Rust code that runs only on the server. Dioxus also targets desktop and mobile.
As UI frameworks, neither ships an ORM, migrations or authentication, and neither documents mail, background jobs or an admin panel. The Leptos book says Leptos itself provides neither the HTTP server nor the database; the Dioxus documentation says Dioxus does not provide a built-in way of managing authentication, and its database tutorial uses rusqlite and names SQLx and SeaORM among the alternatives. Applications assemble these parts from other crates: the Leptos authentication example and the Dioxus authentication guide both use axum_session_auth with SQLx.
They are not in the Performance section because it measures equivalent applications serving HTTP requests. The server side of a Leptos application runs on Actix Web or Axum through Leptos's integrations, and Dioxus Fullstack is built on Axum, which is already the benchmark's baseline; an equivalent application would also need its ORM and authentication assembled by hand. The approaches are complementary: a Leptos or Dioxus interface can call a Rullst HTTP API.
Performance
These numbers are not written by hand. The benchmark measures each new Rullst release once, and each daily build of this site inserts its latest results from the Rullst/Benchmarks suite for the three frameworks, Actix Web, Gin and the frameworks of other languages it measures (Phoenix, ASP.NET Core, Spring Boot, Ruby on Rails, Laravel, Django, FastAPI, NestJS and Fastify), plus a minimal Rullst configuration. Rullst's maintainer also maintains that benchmark and wrote every implementation in it, in each framework's documented production setup; read each score with that in mind. Its results page says whether these results pass the benchmark's own publication gate.
How to read these numbers
- 1.00× is Axum. Every score divides a framework's result by the result of Axum, a small Rust framework used as the reference, measured on the same machine in alternating rounds. 0.50× is half of Axum's result and 2.00× twice. Higher is better in every score: for memory and start-up time the ratio is turned around, so a higher score means less RAM or a faster start. Because Axum is a bare, very fast Rust engine (no ORM, no sessions and no security layers), scoring close to 1.00× already puts an application well ahead of traditional interpreted-language web frameworks, as the full results show.
- Ties and ±. The machines are shared cloud machines, so results vary from run to run. "±6%" next to a score is the margin within which two scores cannot be told apart. Scores that close share a range of positions, such as "3–7": those implementations are in positions 3 to 7 in no particular order.
- The categories answer different questions. Hello world: what a framework costs per request when the page is trivial. Database: how it reads, writes and renders rows. Application: what it does with a real request (input, validation, a write, a form with CSRF protection, a signed-in user). Memory: how much RAM it needs under load (less RAM means cheaper hosting and more apps on the same server). Startup: how fast it starts. Stability (pass or fail): whether it keeps working under heavier load.
- The database usually comes first. In a real application the database is usually the limit before the framework is, so a large gap in Hello world shrinks or disappears once requests read and write data; Database, Application and Memory reflect everyday use far better than a trivial Hello world page.
- The overall score is a summary. It combines the five category scores, with Hello world, Database and Application counted twice and Memory and Startup once, for quick reading. The categories are the real result: other weights change the order, as the full results show.
- Rullst appears twice. "Rullst" is the application that
cargo rullst newgenerates, withServer's production stack on: the WAF, CSRF protection, secure cookies and secure headers (its access log, also on by default, is off in the benchmark, as per-request logging is for every implementation); it is the Rullst with a position. "Rullst (minimal)" is the same router, ORM andhtml!templates served by Axum's own server, withoutServer, like the Axum app; it is a diagnostic, with scores and without a position. The "Rullst (minimal)" row shows Rullst's core engine tracks close to Axum; the gap between the two rows is roughly the intentional cost of that security stack (Serveritself included), not a slow framework. - Database pools differ. Since 13.0.0-rc.1, Rullst's pool pings a PostgreSQL connection before handing it out only when it has been idle for at least 500 ms. The Axum reference, Actix Web and Loco ping on every acquisition (SQLx's default, which SeaORM 2.0.4 under Loco keeps). Each Database score includes its pool setting: in the 27 November 2026 run, Axum without the ping scored 1.24× in Database (database-layer defaults).
Score relative to Axum (1.00×; higher is better in every column), position among the 14 ranked implementations and tie margin (±).
| Framework | Overall | Hello world | Database | Application | Memory | Startup | Stability |
|---|---|---|---|---|---|---|---|
| Actix Web4.19.0 | 11.07× | 11.15×* | 3–70.95×*±5.4% | 11.18×* | 1–51.00× ≈ | 1–131.00× ≈ | pass |
| Topcoat0.12.1 | 20.98×±5.3% | 20.77×*±8.9% | 1–21.15×* | 21.05×*±5.8% | 1–51.00× ≈±0.4% | 1–131.00× ≈±0.0% | pass |
| Gin1.12.0 | 30.84×±4.4% | 3–70.48×*±8.4% | 1–21.12×*±7.6% | 30.94×*±4.3% | 1–51.00× ≈±0.4% | 1–131.00× ≈±0.0% | pass |
Rullst13.0.0-rc.2 · as cargo rullst new generates it | 4–60.78×±6.4% | 3–70.51×*±39.5% | 3–70.94×*±7.7% | 5–60.78×*±4.8% | 1–51.00× ≈±0.4% | 1–131.00× ≈±0.0% | pass |
| Loco1.3.1 | 4–60.77×±6.2% | 3–70.49×*±14.9% | 3–70.84×*±13.3% | 40.83×*±4.3% | 1–51.00× ≈±0.4% | 1–131.00× ≈±0.0% | pass |
| Fastify5.12.8 | 4–60.68×±14.1% | 3–70.51×*±35.7% | 3–70.88×*±14.4% | 5–60.76×*±12.8% | 100.37×±2.8% | 1–131.00× ≈±0.0% | pass |
| ASP.NET Core10.0.15 | 7–90.49×±14.8% | 3–70.47×±8.4% | 8–100.52×*±22.3% | 9–100.34×*±16.0% | 80.50×±3.2% | 1–131.00× ≈±0.0% | pass |
| Phoenix1.8.16 | 7–90.47×±14.1% | 100.16×*±29.7% | 3–70.87×*±19.1% | 70.56×*±19.5% | 90.41×±3.3% | 1–130.93× ≈±16.2% | pass |
| NestJS12.5.0 | 7–90.40×±19.7% | 80.33×*±27.8% | 8–100.58×*±21.8% | 9–100.32×*±20.1% | 120.25×±2.2% | 1–130.75×±26.8% | pass |
| Spring Boot4.1.2 | 100.32×±14.6% | 90.21×*±31.9% | 8–100.67×*±5.2% | 80.43×*±15.7% | 140.14×±9.5% | 140.18×±20.9% | pass |
| FastAPI0.163.0 | 11–120.17×±6.3% | 110.073×*±28.9% | 11–130.20×*±27.5% | 11–130.11×*±16.4% | 110.34×±2.6% | 1–130.75×±23.1% | pass |
| Django6.1.3 | 11–120.16×±6.4% | 120.030×*±15.0% | 11–130.25×*±32.0% | 11–130.13×*±17.2% | 70.54×±0.6% | 1–130.90×±16.2% | pass |
| Ruby on Rails8.1.4.1 | 130.11×±14.4% | 130.013×*±23.0% | 11–130.30×*±24.8% | 11–130.10×*±32.8% | 130.15×±9.4% | 1–130.72×±22.3% | pass |
| Laravel13.42.0 | 140.046×±14.8% | 140.006×*±21.7% | 140.055×* †±20.9% | 140.017×*±31.6% | 60.76×±0.4% | 1–131.00× ≈±0.0% | pass |
| Rullst (minimal)13.0.0-rc.2 · diagnostic, no position | –0.99× | –1.00×* ≈ | –1.03×* ≈ | –0.93×* | –1.00× ≈ | –1.00× ≈ | pass |
- Each cell shows the position (a range such as 3–7 is a tie: those implementations share positions 3 to 7 in no particular order), the score and its tie margin (±: the margin of its comparison with the score above; the first position has none).
- * In at least one run of this score the runner's load generator and PostgreSQL were the limit (client-bound), so that run counts with its CPU-cost ratio, requests per CPU-second of the server and PostgreSQL together, instead of requests per second.
- † This implementation's database setup differs from the others' in a way the full results explain.
- ≈ Within the tie margin of Axum's 1.00×: not distinguishable from Axum.
Memory
RAM of the server in MiB, with Axum's on the same runners in parentheses. The Memory score compares the high-water mark under load; no score includes the peak after the 125 logins of the application endpoints.
| Framework | High-water mark under load | Peak after the 125 logins |
|---|---|---|
| Actix Web4.19.0 | 12 (17) | 696 (928) |
| Topcoat0.12.1 | 12 (18) | 1,040 (927) |
| Gin1.12.0 | 26 (17) | 21 (929) |
Rullst13.0.0-rc.2 · as cargo rullst new generates it | 12 (17) | 470 (927) |
| Loco1.3.1 | 17 (17) | 1,046 (929) |
| Fastify5.12.8 | 171 (17) | 184 (931) |
| ASP.NET Core10.0.15 | 128 (17) | 158 (928) |
| Phoenix1.8.16 | 157 (16) | 161 (927) |
| NestJS12.5.0 | 256 (17) | 303 (927) |
| Spring Boot4.1.2 | 458 (17) | 472 (928) |
| FastAPI0.163.0 | 191 (17) | 420 (928) |
| Django6.1.3 | 119 (17) | 123 (927) |
| Ruby on Rails8.1.4.1 | 417 (17) | 385 (928) |
| Laravel13.42.0 | 84 (17) | 90 (928) |
| Rullst (minimal)13.0.0-rc.2 · diagnostic, no position | 15 (18) | 470 (931) |
What this means for Rullst
Rullst as cargo rullst new generates it (13.0.0-rc.2, with its production middleware) is in positions 4–6 of 14 in the overall score, at 0.78× Axum (Axum = 1.00); in the same group as Loco (0.77×), Fastify (0.68×); the closest scores outside its group are Gin (0.84×, higher) and ASP.NET Core (0.49×, lower). By category: Hello world positions 3–7 of 14 (0.51×); Database positions 3–7 of 14 (0.94×); Application positions 5–6 of 14 (0.78×); Memory (high-water mark) positions 1–5 of 14 (1.00×); Startup positions 1–13 of 14 (1.00×). Memory: its RAM high-water mark under the Tier 3 load was 12 MiB (Axum: 17 MiB on the same runners), both counted as the 64 MiB floor of the Memory score; after the 125 logins of the application endpoints its peak was 470 MiB (Axum: 927 MiB), which no score includes. This benchmark is maintained by Rullst's maintainer, who also wrote every implementation in it and designed the method.
Sources
- Rullst: README integrations, maturity tiers, supported release window, database support, crates.io, security layers and scope and limits.
- Loco: documentation, repository at v1.3.1, crates.io, the middleware reference, JWT authentication and the 1.3.1 feature flags.
- Topcoat: repository at v0.12.1 (README,
docs/, changelog), docs.rs, crates.io, the session guide and mail guide. - Leptos: the Leptos book (the life of a page load, server functions, extractors), authentication example at v0.8.23, crates.io.
- Dioxus: documentation for 0.7 (web, router and state, authentication, databases), crates.io.