v0.1.1
First published release of ffroute — a Starlette/FastAPI-compatible URL route matcher implemented in Rust with PyO3.
100–200× faster than Starlette's linear regex scan on real-world OpenAPI specs (Stripe, GitHub, Kubernetes), with zero divergences against Starlette's own compile_path oracle.
Highlights
ffroute.Router— low-level trie matcher (zero Python deps).ffroute.FFRouter— drop-instarlette.routing.Routersubclass.ffroute.speedup(app)— one-liner; recurses intoMountsub-apps by default; dynamic-mixin preserves FastAPIAPIRouterhooks (incl./openapi.json).- Wheels published for CPython 3.10–3.14 on Linux (manylinux + musllinux, x86_64 + aarch64), macOS (x86_64 + arm64) and Windows (x86_64).
Notes on v0.1.0
v0.1.0 was tagged but never produced wheels — its CI pipeline hung on a deprecated macOS runner. v0.1.1 ships on the fixed pipeline (macos-14 with cross-compiled Intel wheels; bumped action versions).