# tomaka/rouille

Web framework in Rust

Repository: https://github.com/tomaka/rouille
Canonical: https://ross.abutalabs.com/products/tomaka-rouille
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: web, server, rust, http
Last push: 2025-06-17T12:22:28+00:00

## Health v2 (maintenance only)
Score: 35/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 27, release rhythm 8, longevity 100
- inputs: {"age_days": 4067, "days_push": 442, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1238, forks 110 (observed 2026-08-28T04:04:05.531651+00:00)

## What it is
Rouille is a synchronous micro web framework for Rust that listens on a socket, parses HTTP requests, and hands them to your handler code in a linear, middleware-free style. It directly supports web-specific concepts like cookies, CGI, and form input while leaving databases and templating to third-party libraries.

## Use cases
- build a small REST API in Rust
- serve a simple website with cookies and form handling
- write an HTTP server without async complexity
- prototype a web backend quickly in Rust
- handle HTTP requests with a thread-per-request model

## When to choose
- you want an intuitive, synchronous Rust web framework with minimal boilerplate
- your workload is modest and thread-per-request performance (~22k req/s) is sufficient
- you prefer composing your own database/templating libraries instead of a batteries-included framework

## When to avoid
- you need high-concurrency async I/O performance like tokio/hyper
- you want an ecosystem of middlewares like Express-style frameworks
- you're building a large async service with async database clients

## Facets
- artifact type: library
- maturity: maintenance
- function: web-framework, http-server, routing, form-handling
- domain: web-development, backend, apis
- platform: rust, windows, cross-platform
- tags: micro-framework, synchronous, thread-per-request, rest, http, linux, macos

## Member repositories
- tomaka/rouille (main) score 35

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:05.531651+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:21:49.349400+00:00, confidence not recorded.
  - readme: https://github.com/tomaka/rouille (fetched 2026-08-28T04:04:05.531651+00:00, sha e4411545b25d)
  - registry_crates: https://crates.io/api/v1/crates/rouille (fetched 2026-08-29T12:20:53.596040+00:00, sha c2dd372f1d53)
- Data as of 2026-08-30T08:39:29.467469+00:00.
